Learning Python | Learning | Beckstein Lab

. . . . .
Learning Python

Learning Python

The Python programming language is used everywhere in this lab, the computational physics and biology communities, and big companies such as Google and Facebook. You don’t know Python? Start here to learn it.

Get started with the official beginner’s guide to Python and find the links that help you with your first steps, be it installation or any number of web resources for learning Python.


If you are a beginner, I recommend


For people with programming experience (and anyone who passed through the beginner stage) I suggest the Python tutorial. You can also get a quick idea of the essentials from instant python.

Then start reading other people’s code and learn from them and keep the Python documentation handy. In case of questions and problems, StackOverflow and standard web searches are invaluable.

Python 2 or Python 3?

Python 2 (i.e. the 2.x releases of Python) is being slowly replaced by Python 3. Python 3 is cleaner and partially incompatible with Python 2 so there’s the question which version of Python should one use? A lot of code (especially in the sciences) still only exists as Python 2 or relies on Python 2-only libraries. Therefore, you should be able to read and write Python 2. However, the differences are not fundamental and by all means, learn Python 3 right away and then look up the differences to Python 2 when you need it.


More sources that I found very useful

Discuss: “Learning Python”

No comments yet.

Leave a Reply

Textile help