An introduction to python, for the KAUST networking team. Two hours per week for 4 weeks.
-
Environment: Only use Python 2.x for now
- python philosophy, style and pep8
- google styles https://google.github.io/styleguide/pyguide.html
- Intrepreter: python, ipython
- IDE: Please install Atom, and the "terminal" package
- git, and markdown https://guides.github.com/features/mastering-markdown/
- python philosophy, style and pep8
-
code
- hello world, functions, testing
- for loop, and indenting
- strings, lists, slicing
- import math
-
Environment
-
code
- class
- method
- import
- init.py
-
Environment
- pip
- notebook, jupyter
- PYTHONPATH
- Using git
-
code
- unittest
- bottle
- requests module
- fabric module
-
Environment
- pylint, nose, coverage
- Using Atom
-
code