bin/read_coord@9573558f9191
bin/read_coord
Mon, 25 Feb 2008 23:21:08 +0100
- author
- David Douard <david.douard@logilab.fr>
- date
- Mon, 25 Feb 2008 23:21:08 +0100
- changeset 56
- 9573558f9191
- parent 40
-
1bbea188a7e5
- permissions
- -rwxr-xr-x
Try to be a little more robust when instanciating the GPIB class (serial connector)
#!/usr/bin/python
import sys, os
try:
from pygpibtoolkit.HP3562A.coord_decoder import main
except ImportError:
sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), ".."))
from pygpibtoolkit.HP3562A.coord_decoder import main
main()