University of Cambridge. — 151 p.
This course is part of the Scientific Computing series, and as such many of the examples chosen are of most relevance to scientific computing.
This course is aimed at those who already know how to program in another high level programming language (such as C/C++, Fortran, Java, Perl or Visual Basic) and who now wish to learn Python. The aim of this course is to provide sufficient familiarity with Python that attendees can attend any of our more advanced Python courses and easily follow any of the widely available Python tutorials on the more complex aspects of the language.
This course is an introductory Python course, covering all the material contained in the "Python: Introduction for Absolute Beginners" course, but in a more abbreviated fashion suitable for those who already have significant programming experience. This course does NOT cover the more complex aspects of the language (for such topics see our other Python courses), nor is there much explicit discussion of the object oriented features of Python.
Topics covered in this course:
Interactive and batch use of Python.
Common Python data types.
Control flow statements (if, while, for).
Functions.
Reading from files.
Processing input.
Writing to files.
Using external modules (libraries).
Structuring programs.