Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung Letzte Überarbeitung Beide Seiten der Revision | ||
en:vegas_python_faq [2018/10/28 09:12] hlinke |
en:vegas_python_faq [2018/10/28 17:38] hlinke [Section 2: Tracks and Events] |
||
---|---|---|---|
Zeile 134: | Zeile 134: | ||
</ | </ | ||
- | If the filename or a parameter include blanks, then the parameter must be enclosed in ´" | + | If the filename or a parameter include blanks, then the parameter must be enclosed in ´"" |
The pythonscript can access the commandline arguments as it is standard in Python via the variable sys.argv. | The pythonscript can access the commandline arguments as it is standard in Python via the variable sys.argv. | ||
This variable contains a list of strings with each argument as a separate string item in the list. | This variable contains a list of strings with each argument as a separate string item in the list. | ||
Zeile 200: | Zeile 200: | ||
==== Section 2: Tracks and Events ==== | ==== Section 2: Tracks and Events ==== | ||
- | === How do access the VEGAS attributes? === | + | === How do I access the VEGAS attributes? === |
- | VEGASPython provides a variable pyVEGAS | + | VEGASPython provides a variable pyVEGAS |
Example: | Example: |