Python Training Part 1
Python Training Part 1
programming language
GC3: Grid Computing Competence Center,
University of Zurich
Welcome!
Introduction
Introduction
Introduction
Prerequisites
Introduction
Introduction
A helpful tool
Global variables
3 print (msg)
msg
"Welcome to Python!"
Edit code
<< First
< Back
Step 2 of 2
Forward >
Last >>
Program output:
Introduction
Objec
Further reading
Introduction
Python 2 vs Python 3
There are currently two major versions of Python
available, with slightly different syntax and features.
Python 2.7 is the last release in the 2.x series.
Python 3.x has a more polished syntax, removing
inconsistencies and some historical baggage.
But Python 2.x is still the default on most Linux
distributions and some major Python packages have
not yet been ported to Py3, so we shall focus on Py2
syntax.
Watch a debate between Pro and Contra advocates:
http:// www.physik.uzh.ch/ nchiapol/ webm/ 3 1 Python3.webm
Introduction
Next steps
Introduction