Pythonista 3 300005 bug
disorientedp last edited by
@omz There is currently a bug in the latest beta of Pythonista 3 (I haven't tried 2) where text doesn't always change color in the console when the theme is Gold. Sometimes, the text shows up as black, which is difficult to make out on an almost-black background. This problem gets fixed when I change to a different theme and back.
JonB last edited by
here is another bug in latest 30 beta
Typing any multiline items in console reults in
SyntaxError: unexpected EOF while parsing
For example, a def, class, for loop... after the first line, the console interpreter doesn't handle the end of line
omz last edited by omz
@JonB I mentioned that as a known issue a while back (first beta, I think), it's still on my todo list.
harvyjackk last edited by
This post is deleted!
Unexpected EOF( End Of File ) while parsing is a syntax error which means the end of source code is reached even before all the blocks of code are completed. This happens in a number of situations in Python, such as:
- Missing or unmatched parentheses.
- Forget to enclose code inside a special statement.
- Unfinished try statement.
To solve this error, first check to make sure that every if statement, for loop, while loop, try statement and function contains code. Second, check to make sure you close all the parenthesis in your code. Moreover, you can avoid this problem by keeping code neat and readable, making it easier to find and fix the problem whenever the error does occur.