fix import for python2
This commit is contained in:
parent
6554cae086
commit
5f127b3b97
@ -4,6 +4,6 @@ Python library to control an UR robot through its TCP/IP interface
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
from .urx import Robot, RobotException, URScript
|
from .urx import Robot, RobotException, URRobot
|
||||||
from .tracker import Tracker
|
from .tracker import Tracker
|
||||||
|
|
||||||
|
@ -54,6 +54,7 @@ TODO:
|
|||||||
DOC LINK
|
DOC LINK
|
||||||
http://support.universal-robots.com/URRobot/RemoteAccess
|
http://support.universal-robots.com/URRobot/RemoteAccess
|
||||||
"""
|
"""
|
||||||
|
from __future__ import absolute_import # necessary for import tricks to work with python2
|
||||||
|
|
||||||
__author__ = "Olivier Roulet-Dubonnet"
|
__author__ = "Olivier Roulet-Dubonnet"
|
||||||
__copyright__ = "Copyright 2011-2012, Olivier Roulet-Dubonnet"
|
__copyright__ = "Copyright 2011-2012, Olivier Roulet-Dubonnet"
|
||||||
@ -63,6 +64,7 @@ __version__ = "0.3"
|
|||||||
__status__ = "Development"
|
__status__ = "Development"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
from threading import Thread, Lock, Condition
|
from threading import Thread, Lock, Condition
|
||||||
import socket
|
import socket
|
||||||
import time
|
import time
|
||||||
|
Loading…
x
Reference in New Issue
Block a user