Mon, 04 Feb 2008 19:49:48 +0100
refactoring in progress
16
de9122b5680a
Several improvements (code refactoring) + add stuff to decode binary coordinate data block ("DCBN" command)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
1 | #!/usr/bin/python |
de9122b5680a
Several improvements (code refactoring) + add stuff to decode binary coordinate data block ("DCBN" command)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
2 | |
39
8becd52c2171
refactoring in progress
David Douard <david.douard@logilab.fr>
parents:
16
diff
changeset
|
3 | import sys, os |
8becd52c2171
refactoring in progress
David Douard <david.douard@logilab.fr>
parents:
16
diff
changeset
|
4 | try: |
8becd52c2171
refactoring in progress
David Douard <david.douard@logilab.fr>
parents:
16
diff
changeset
|
5 | from HP3562A.coord_decoder import main |
8becd52c2171
refactoring in progress
David Douard <david.douard@logilab.fr>
parents:
16
diff
changeset
|
6 | except ImportError: |
8becd52c2171
refactoring in progress
David Douard <david.douard@logilab.fr>
parents:
16
diff
changeset
|
7 | sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), "..")) |
8becd52c2171
refactoring in progress
David Douard <david.douard@logilab.fr>
parents:
16
diff
changeset
|
8 | from HP3562A.coord_decoder import main |
16
de9122b5680a
Several improvements (code refactoring) + add stuff to decode binary coordinate data block ("DCBN" command)
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
9 | main() |