-
Notifications
You must be signed in to change notification settings - Fork 3
How to use
yadizhou edited this page Nov 18, 2017
·
11 revisions
To run LabPype, simply type the command:
python -m labpype.__init__
LabPype will create a folder .labpype
in your home directory as the workspace for settings file and downloaded/installed widget sets.
If you don't want the terminal to show up, you can run LabPype with pythonw
. For example, on Windows, create a shortcut and type in the following command for target
:
pythonw.exe -m labpype.__init__
LabPype allows you to have multiple instances of LabPype that each has its own workspace. This way, each instance can have its own installed widget sets and program settings.
For example, if you want to run LabPype in a folder called cloning
, create a pyw
file in the folder and add the following:
import os
import labpype
App = labpype.App(path=os.path.dirname(os.path.realpath(__file__)))
App.Start()
Then run the pyw
file. You will see several files and folders are created in this folder.