[Tutor] input string to own console stdin
eddio0141 at gmail.com
Wed Nov 15 17:16:35 EST 2017
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
(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
but even it doesn't give me an syntax error, it did absolutely nothing.
Please help. Thanks
More information about the Tutor