Wie lässt sich mit dem Python-Code programmieren?

How can you program with Python code?

With the latest and future-proof version of the programming language, Python 3 is the best choice for "programming with Python code". Here is a step-by-step guide to programming Python code:

  • Install Python for the selected operating system (Microsoft Windows - Package Manager Chocolatey, Linux - Software Pyenv, MacOS - Homebrew Package Manager and Pyenv as well as Docker)
  • Choice of a Python distribution (CPython, ActivePython, PyPy, Anaconda)
  • Find Python IDE (Visual Studio, Eclipse, Sublime Text, Vim, Emacs, IDLE, PyCharm, Komondo, Spyder)
  • Python libraries from Python Package Index (PyPI) or from third-party providers (pre-installed or via a tool)
  • Windows users: C compiler for some Cython packages to build certain modules that are not in binary format - as a free community edition of Python Visual Studio, for example, or Gnu Compiler Collection and third-party add-on LLVM Compiler Framework. Git for Windows should either be downloaded manually or installed via Chocolatey, as some IDEs may refuse to work without the Git revision control software.
  • Keep Python code clean - static code analysis is done by a collection of packages (autpep8 for PEP 8, Plynt or Mypy for bug detection)
  • Create Python project templates (Git Reponsitory, Cookiecutter)
  • Programming with Python in virtual environments (virtualenv, virtualenvwrapper, PyCharm)
  • use published codes Pyhton examples
  • Exchange with other Python beginners or Python users about programming Python code

Suitable training courses/seminars: