Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
Letzte Überarbeitung Beide Seiten der Revision
en:chapter1 [2019/06/10 15:34]
hlinke [Hello World]
en:chapter1 [2019/06/10 15:36]
hlinke [Access to VEGAS]
Zeile 83: Zeile 83:
 ==== Introduction to the Python Language ==== ==== Introduction to the Python Language ====
 It is not the intention of this tutorial to provide a complete Python tutorial. I will only show you the items you need to know to be able to create or modify VEGASPython scripts. It is not the intention of this tutorial to provide a complete Python tutorial. I will only show you the items you need to know to be able to create or modify VEGASPython scripts.
 +VEGASPython is based on Python 3.x. Therefore the Python 3 syntax has to be used.
  
 === Functions === === Functions ===
Zeile 119: 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 = "Number 5" stringVariable = "Number 5"
-print stringVariable+print (stringVariable)
 </code> </code>
  
Zeile 164: Zeile 165:
  
 <code python> <code python>
-print pyVEGAS.Version+print (pyVEGAS.Version)
 </code> </code>
  

Andere Sprachen
QR-Code
QR-Code en:chapter1 (erstellt für aktuelle Seite)