Brief introduction to Python programming. From basic elements to more advanced ones with examples.

This tutorial was created for the School on Chemoinformatics in Munich, 17-21 October 2016 (BigChem project).

Topics covered:

  • PEP8
  • Built-in data types
  • Data type conversion
  • List comprehensions
  • Generators
  • Variable assignment, shallow and deep copy
  • Some built-in functions
  • Functions
  • File I/O
  • Custom scripts
  • Classes
  • Multiprocessing

Links:

Html-version of Jupyter notebook

Jupyter notebook

Archive with the notebook and all input/output files

© Pavel Polishchuk 2010-2017