How to Start¶
Various ways are possible in order to start modules from PyMoDAQ. In all cases after installation of the package
(using pip or setup.py, see Installation) all the modules will be installed within the
site-packages folder of python.
From command line tool:¶
Open a command line and activate your environment (if you’re using anaconda or miniconda) and execute either:
python -m pymodaq.daq_scan.daq_scan_mainpython -m pymodaq.daq_viewer.daq_viewer_mainpython -m pymodaq.daq_move.daq_move_mainpython -m pymodaq.daq_utils.h5browser
for PyMoDAQ’s main modules. The -m option tels python to look within its site-packages folder (where you’ve just
installed pymodaq) In fact if one of PyMoDAQ’s file (xxx.py) as an entry point (a if __name__='__main__:'
statement at the end of the file), you can run it by calling python over it…