Size: 751
Comment:
|
Size: 899
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 14: | Line 14: |
user@machine:~$ ScrumPy | user@machine:~$ ScrumPy & |
Line 16: | Line 16: |
which will launch the {{{ScrumPy}}} window. == Data types == == Lists == == Dictionaries == == Objects == == Bits and bobs == |
Introduction to Python
The metabolic modelling we will be using, ScrumPy, is written in Python. Python is a high-level, object-oriented, interpreted programming language, it has a lange standard library, and supports multiple programming paradigms. It is also syntactically clear and easy to learn. This is a very brief introduction to some of the basic features of the language, for a more complete introduction to the topic, see Lutz & Ascher, "Learning Python" O'Reilly Media inc. (Edition 2 or greater).
Getting started
We will be using Python from the ScrumPy environment. To start a new ScrumPy session open a terminal and type "ScrumPy":
user@machine:~$ ScrumPy &
which will launch the ScrumPy window.
Data types
Lists
Dictionaries
Objects