You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python input function works fine when typing commands on the interpreter, using a Kivy TextInput widget.
Problem
input() doesn't work when executing the same code from a file.
(at least on android 5.1.1)
A file with only one line "val = input()", gives the errors :
Traceback (most recent call last):
File "interpreter_subprocess/interpreter.py", line 231, in interpret_code
exec(c, user_locals, user_globals)
File "<stdin>", line 1, in <module>
File "interpreter_subprocess/interpreter.py", line 33, in _exec_full
exec(compile(file.read(), filepath, 'exec'), global_namespace)
File "/storage/emulated/0/python/test.py", line 1, in <module>
val = input()
EOFError: EOF when reading a line
Thanks
The text was updated successfully, but these errors were encountered:
Python input function works fine when typing commands on the interpreter, using a Kivy TextInput widget.
Problem
input() doesn't work when executing the same code from a file.
(at least on android 5.1.1)
A file with only one line "val = input()", gives the errors :
Thanks
The text was updated successfully, but these errors were encountered: