File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 1+ # J Wang, Computational modeling and visualization with Python
2+ These are common library files. They should be extracted or saved to
3+ the Python path (e.g., C:\Python27) so they can be called from anywhere.
4+
5+ On Anaconda, library files may be placed in
6+ ` "C:\Users\yourname\Anaconda3\lib" ` on Windows 10 for example.
7+ But it is tidier to put them in one folder in site-packages as
8+ ` "C:\Users\yourname\Anaconda3\lib\site-packages\compy" ` .
9+ To do so, create a file ` compy.pth ` containing the folder path in quotes
10+ and place it and lib files in paths as folows:
11+ <table border =" 0 " >
12+ <tr >
13+ <td > C:\Users\yourname\Anaconda3\lib\site-packages\compy.pth </td >
14+ </tr >
15+ <tr >
16+ <td > C:\Users\yourname\Anaconda3\lib\site-packages\compy\ode.py</td >
17+ </tr >
18+ <tr >
19+ <td align =" right " > . . . \xyz.py </td >
20+ </tr >
21+ </table >
You can’t perform that action at this time.
0 commit comments