1 #!/usr/bin/python |
1 #!/usr/bin/python |
2 |
2 |
3 import sys, os |
3 import sys, os |
4 try: |
4 try: |
5 from HP3562A.state_decoder import main |
5 from pygpibtoolkit.HP3562A.state_decoder import main |
6 except ImportError: |
6 except ImportError: |
7 sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), "..")) |
7 sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), "..")) |
8 from HP3562A.state_decoder import main |
8 from pygpibtoolkit.HP3562A.state_decoder import main |
9 main() |
9 main() |