1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
|
PyMOL>help def
DESCRIPTION
You have asked for help on a Python keyword which is available
from within the PyMOL command language. Please consult the
official Python documentation at http://www.python.org for
detailed information on Python keywords.
You may include Python blocks in your PyMOL command scripts, but do
note that multi-line blocks of Python in PyMOL command files will
require explicit continuation syntax in order to execute properly
(see below).
Generally, if you want to write Python block which span multiple
lines, you will want to use ".py" file, and then use "extend" in
order to expose your new code to the PyMOL command language. This
will give you better error checking and more predictable results.
EXAMPLES
a=1
while a<10: \
print a \
a=a+1
SEE ALSO
extend, run, @
PyMOL>cmd.python_help.__doc__='python help'
PyMOL>help for
python help
PyMOL>help pass
python help
PyMOL>help raise
python help
PyMOL>help return
python help
PyMOL>help try
python help
PyMOL>help except
python help
PyMOL>help finally
python help
PyMOL>help while
python help
PyMOL>help assert
python help
PyMOL>help class
python help
PyMOL>help continue
python help
PyMOL>help del
python help
PyMOL>help elif
python help
PyMOL>help else
python help
PyMOL>help global
python help
PyMOL>help if
python help
PyMOL>help import
python help
|