Changeset 3132
- Timestamp:
- Oct 12, 2017 10:46:31 AM (6 years ago)
- Location:
- Tutorials/PythonScript
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Tutorials/PythonScript/Scripting.htm
r3131 r3132 32 32 <P> 33 33 The exercise can be performed by placing all of the Python commands 34 into a script, but more pedagogical approach will be to enter the 34 into a script, (which can also be 35 <A href="https://subversion.xray.aps.anl.gov/trac/pyGSAS/export/3131/Tutorials/PythonScript/data/example.py"> 36 downloaded here</A>), 37 but a more pedagogical approach will be to enter the 35 38 commands into a Python interpreter. Use of IPython or Jupyter to run 36 39 Python will make this a more pleasant experience. … … 402 405 </blockquote><hr> 403 406 <address></address> 404 <!-- hhmts start -->Last modified: Thu Oct 12 10: 34:10CDT 2017 <!-- hhmts end -->407 <!-- hhmts start -->Last modified: Thu Oct 12 10:45:51 CDT 2017 <!-- hhmts end --> 405 408 </body> </html> -
Tutorials/PythonScript/data/example.py
r3130 r3132 1 '''Sample script to demonstrate use of GSASIIscriptable to duplicate the 2 tutorial found here: 3 https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/CWCombined/Combined%20refinement.htm 4 5 This script is described in this tutorial: 6 https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/PythonScript/Scripting.htm 7 ''' 8 1 9 import os,sys 2 10 sys.path.insert(0,'/Users/toby/software/G2/GSASII')
Note: See TracChangeset
for help on using the changeset viewer.