Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SyntaxError: invalid syntax in zxb.py (Resolved)
#1
I've just downloaded ZX BASIC from the zxbasic-latest-version.zip link to give it a try. I have Python 3.1.2 installed on a Windows 7 box.

Running zxb.py gives the following error:-

Code:
File "C:\Users\Chris\speccy\zxbasic\zxb.py", line 60
    print m # IGNORE # line directives as PASMO does not support them
          ^
SyntaxError: invalid syntax

I guess I must be doing something wrong, but what?

EDIT: Resolved. I uninstalled Python 3.1.2 and installed Python 2.6 instead. The zxbasic website says "you will need the python interpreter version 2.5 or higher installed on your system" - this should probably be amended to point out to non-python programmers (like me) that actually Python 3.x is no good as it's not backwardly compatible with v2.x.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)