-
Notifications
You must be signed in to change notification settings - Fork 49
syntax error on line 303 #1
Comments
Hey WillieWonka, Could you post (a) the exact code you used which produced the error, and (b) the full printout of the error? Thanks! |
the code: from pyrobot import Robot
robot = Robot()
robot.sleep(5)
robot.add_to_clipboard("\"")
for n in range(0, 157):
robot.paste()
robot.press("down_arrow")
robot.release("down_arrow") the error is just a general error from the commandline at that line about the syntax of print e |
One quick issue I see is that there is no Let me know if that clears anything up (everything ran OK for me once I subbed in the right method names). Based on your above code, I'm not entirely sure what's throwing the syntax error on line 303. In PyRobot, that line is part of the |
@rogueeva you are probably using python3. Pyrobot is a python2 only lib. |
@gcq i've got lost in my env variables, true, that error is caused by using python3. |
i like the idea of this but when i import the robot class as in the example i get a syntaxerror on line 303 with the print e statement. This is in both 2.7.5 and the 3.3 python version.
The text was updated successfully, but these errors were encountered: