Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 1.21 KB

README.md

File metadata and controls

28 lines (24 loc) · 1.21 KB

Overview

This directory contains some examples to disburden the process of getting started with python programming. See the respective github-repo for updates. Of course you are welcome to suggest additional content by your self, e. g., via pull request.

How to use these examples:

  • 01-hello-world.py:
    • run python3 01-hello-world.py
  • 02-hello-world-matplotlib.py
    • run python3 02-hello-matplotlib.py
    • this example needs the python-package matplotlib to be installed
    • also note that this example shows an drawing and saves a pdf-file
  • 03-hello-world-web-application.py
    • run export FLASK_APP="03-hello-world-web-application.py"; flask run
    • then open your browser at http://127.0.0.1:5000/
    • this example needs the python-package flask to be installed
  • 04-run-unit-tests.py
    • run python3 04-run-uni-tests.py
  • 05-generate-docs
  • module_to_be_tested.py
    • this is not an example on its own but instead used by example 04

Publicity

If you are interested in scientific computing with python see http://www.tu-dresden.de/pythonkurs.