Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
en:chapter1 [2019/06/10 15:35] hlinke [Introduction to the Python Language] |
en:chapter1 [2019/07/28 10:24] hlinke [Hello World] |
||
---|---|---|---|
Zeile 49: | Zeile 49: | ||
You open the window in VEGAS via "View - Extensions - VEGASPython Interactive Window" | You open the window in VEGAS via "View - Extensions - VEGASPython Interactive Window" | ||
- | {{: | + | {{: |
This opens the interactive VEGASPython Window: | This opens the interactive VEGASPython Window: | ||
- | {{: | + | {{: |
The interactive VEGASPython Window consists of two textboxes. | The interactive VEGASPython Window consists of two textboxes. | ||
Zeile 120: | Zeile 120: | ||
<code Python> | <code Python> | ||
numberVariable = 5 | numberVariable = 5 | ||
- | print numberVariable | + | print (numberVariable) |
floatVariable = 0.5 | floatVariable = 0.5 | ||
- | print floatVariable | + | print (floatVariable) |
stringVariable = " | stringVariable = " | ||
- | print stringVariable | + | print (stringVariable) |
</ | </ | ||
Zeile 165: | Zeile 165: | ||
<code python> | <code python> | ||
- | print pyVEGAS.Version | + | print (pyVEGAS.Version) |
</ | </ | ||