Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The example worked in interpreter but not when I write in a .py file.
.py
from __future__ import barry_as_FLUFL import sys print(sys.version) "Ruby" != "Python" #This is OK
from __future__ import barry_as_FLUFL import sys print(sys.version) "Ruby" <> "Python" #But this raise a exception
output 1:
3.6.5 |Anaconda, Inc.| (default, Mar 29 2018, 13:32:41) [MSC v.1900 64 bit (AMD64)]
output 2:
File "test.py", line 4 "Ruby" <> "Python" ^ SyntaxError: invalid syntax
The text was updated successfully, but these errors were encountered:
The second one worked for me but the first one doesn't. I have used IDLE (Python 3.6.5) @true1023
Sorry, something went wrong.
@true1023 Thanks for reporting this. Seems like this will only work in non-interactive environment. I'll figure out the reason why, and update it in the readme.
Let's meet Friendly Language Uncle For Life: Add notes for non-intera…
a33f715
…ctive evn Resolves #94
I've added the explanation in the project. You can check the above commit and let me know if something's incorrect or missing :)
89c56c2
No branches or pull requests
The example worked in interpreter but not when I write in a
.py
file.output 1:
output 2:
The text was updated successfully, but these errors were encountered: