Differences between revisions 5 and 6
Revision 5 as of 2012-10-10 17:51:42
Size: 899
Editor: hassan
Comment:
Revision 6 as of 2012-10-10 17:52:47
Size: 891
Editor: hassan
Comment:
Deletions are marked like this. Additions are marked like this.
Line 28: Line 28:
== Bits and bobs == == Loops ==

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

Loops

None: Meetings/Delhi2012/Practicals/Practical_2/PyIntro (last edited 2012-10-12 13:53:26 by hassan)