Python 2.X?

13 views
Skip to first unread message

Mike Sadler

unread,
Sep 14, 2016, 6:58:28 AM9/14/16
to macropy
Dear All,

This looks like an amazing project, and I'm hoping that it will help me set up a dependency-tracking system.

I've installed it into our Python 2.7.3 installation, but the basic class example gives me:

Traceback (most recent call last):
  File "D:/TFS/TECC/Main/Source/delete_me2.py", line 1, in <module>
    import delete_me
  File "D:\TFS\TECC\Main\Source\delete_me.py", line 4, in <module>
    class Point(x, y): pass
NameError: name 'x' is not defined

Process finished with exit code 0

Have I missed something, or is macropy 3.X only?

Best regards,

Mike
Reply all
Reply to author
Forward
0 new messages