Differences between revisions 4 and 5
Revision 4 as of 2012-10-10 17:45:02
Size: 751
Editor: hassan
Comment:
Revision 5 as of 2012-10-10 17:51:42
Size: 899
Editor: hassan
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

Bits and bobs

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