Skip to content

Python 3 code does not execute. #23

@clplaneguy

Description

@clplaneguy

Python 3 checks the new PythonForMegaPi library for consistency with Python 3. The old code for Python 2 does not pass the test.

pi@raspberrypi:~ $ python3 MyRobot.py
Traceback (most recent call last):
File "MyRobot.py", line 2, in
from megapi import *
File "/usr/local/lib/python3.5/dist-packages/megapi.py", line 12
print self
^
SyntaxError: Missing parentheses in call to 'print'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions