Advertisement
RingtailedFox

Python 3 works, but Python 2 misbehaves on Windows 10

Jan 5th, 2022
407
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. C:\>py -2
  2. File "C:\PYTHON3-x64\LIB\site.py", line 93
  3. print(message, file=sys.stderr)
  4. ^
  5. SyntaxError: invalid syntax
  6.  
  7. C:\>py -3
  8. Python 3.10.1 (tags/v3.10.1:2cd268a, Dec 6 2021, 19:10:37) [MSC v.1929 64 bit (AMD64)] on win32
  9. Type "help", "copyright", "credits" or "license" for more information.
  10. >>> exit()
  11.  
  12. C:\>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement