File tree 2 files changed +21
-0
lines changed
2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -44,5 +44,20 @@ The commands are:
44
44
(If you install PyModel so its commands and modules are placed
45
45
in system directories, you may no longer need these commands.)
46
46
47
+ - * pymodel_paths.bat* : Windows batch file, assigns paths for running
48
+ PyModel from these * PyModel* directories. To prepare to use
49
+ PyModel, execute this batch file, or arrange to have it executed
50
+ each time you log in. These commands add * PyModel/bin* to the
51
+ execution * PATH* , and add * PyModel/pymodel* to the
52
+ * PYTHONPATH* . They also add the current directory to the
53
+ * PYTHONPATH* , because the PyModel programs * pmt* etc. all import
54
+ Python modules in the current directory that are named on the
55
+ command line. Unlike the * bash* script, this batch file also adds
56
+ * PyModel/pymodel* to the execution * PATH* . (If you install
57
+ PyModel so its commands and modules are placed in system
58
+ directories, you may no longer need these commands.) This file
59
+ also adds the * .PY* extension to * PATHEXT* so you can run the
60
+ * .py* files in * PyModel/pymodel* without typing the * .py*
61
+ extension on the command line.
47
62
48
63
Revised Apr 2013
Original file line number Diff line number Diff line change
1
+ set PATH = %PATH% ;%USERPROFILE% \My Documents\PyModel\bin
2
+ set PATH = %PATH% ;%USERPROFILE% \My Documents\PyModel\pymodel
3
+ set PYTHONPATH = %PYTHONPATH% ;%USERPROFILE% \My Documents\PyModel\pymodel
4
+ set PYTHONPATH = .;%PYTHONPATH%
5
+ set PATHEXT = %PATHEXT% ;.PY
6
+
You can’t perform that action at this time.
0 commit comments