Hi.
I've been searching on google about inputting to own stdin and press enter
but so far i haven't found anything at all.

so what im trying to do is the chatterbot function i got on python doesn't
seem to accept string as an input and always wants a console input and
Enter
(the line -> response = bot.get_response(input string))
so instead, im finding a way to put the input to the stdin and
automatically press enter.

i have tried this
[
https://stackoverflow.com/questions/8475290/how-do-i-write-to-a-python-subprocess-stdin
]
but even it doesn't give me an syntax error, it did absolutely nothing.

Please help. Thanks
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to