Skip to content

ComNets-Bremen/Python-Course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python-Course repository

In this repository, we offer the material for a Python programming class. The idea is to offer an example-driven course. The interested student should go through the examples given in the examples directory of this repository. In there, you will also find another Readme which will guide you through the examples and give you the correct order.

Authors

Content

  • examples: Contains examples for the Python functions covered during the class.
  • slides: Contains the introduction slides for this course.

Installing Python 3

This course focusses on Python 3. Please ensure that you install the correction version! The support for Python 2 ends in January 2020, c.f. https://www.python.org/dev/peps/pep-0373/.

For Linux, Windows, MacOS, Anaconda is a good option to install Python including all dependencies: https://www.anaconda.com

Alternatively, you can also use the classic installation methods:

Although one could use arbitrary text editors for programming, we will give a brief introduction to two editors:

  • Spyder
  • Jupyter Notebook (web-based)

Both are shipped with Anaconda.

Installing Additional Libraries

You might need additional functionality which is packet into separate libraries. Depending on your installation method, you can install for example matplotlib -- a library for graphing -- as follows:

  • Debian-based Linux distributions like Ubuntu: sudo apt install python3-matplotlib
  • Anaconda: conda install matplotlib
  • Classical installation: pip3 install matplotlib

Links

Editors

For programming in Python, you need a text editor which is capable to store plain text files (i.e. not tools as Libreoffice Writer or Microsoft Word). All major operating systems some with such an editor (Notepad in case of Windows) but it is worth having a look on more powerful editors like for example:

Tutorials and cheat sheets

The Internet is full of programming tutorials. Here, we list a couple of them:

More experienced tutorials:

Online Interpreters

Some online Python interpreters exists. They are ideal for trying out simple examples. However, for more complex code, they are overextended.

Not covered in this course (but maybe nice to know)

  • How to write own modules
  • Version Control Systems (VCS) like git (github), SVN, Mercurial, ...
  • Doxygen Style for proper commenting
  • ...

Contribute

Whoever is interested in contributing: Feel free to fork and send pull requests

License

The content of this repository is licensed under GPLv3

About

A fundamental Python programming class

Resources

License

Stars

Watchers

Forks

Packages

No packages published