bin/qgpibplotter

Thu, 28 Feb 2008 18:15:59 +0100

author
David Douard <david.douard@logilab.fr>
date
Thu, 28 Feb 2008 18:15:59 +0100
changeset 59
d8bd4a931516
parent 40
1bbea188a7e5
permissions
-rwxr-xr-x

Make it possible to disable the cache mecanism temporarly and make AbstractCommand derivated classes not considered as commands if their name starts with '_'.

#!/usr/bin/python
import sys, os
try:
    from pygpibtoolkit.plotter.qgpib_plotter import main
except ImportError:
    sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), ".."))
    from pygpibtoolkit.plotter.qgpib_plotter import main
main()

mercurial