Python HOWTO

Python Logo

While publishing Python code snippets in my articles I was not thinking about people that newer ran a script. At some point it stroke me like a lightning, that my published code is not very helpful to them. Hence, I wrote this page in order to help people to get into coding and run their own scripts.

Quick start guide

In case you do not wanna read much you can do the following:

  • Download and install Canopy Enthought
  • Open Canopy
  • Click on Editor
  • Create new file or open an existing one
  • Run the file


First of all, Python is a Scripting language. This means, it is a programming language that is designed to make coding hopefully simple and fast.

Furthermore, usually you need an Interpreter to run your files. Simply spoken, it is a program that directly runs your program. Outside of scipting languages you need a Compiler to run your code. Therefore, a compiler is a program that translates your code into a machine readable language and therefore create an executable program.

For beginners, I would recommend this Beginners guide. Furthermore, I would recommend the package manager Pip to install additional packages. But, usually you would need to use the terminal. Therefore, you could use Canopy Enthought to use a graphical environment to install packages, write code and much more.

To write code and debug it I would recommend an IDE (Integrated development environment). Since I am using Eclipse for Java and C++ Programming I would also recommend it for Python. Furthermore, I found a good instruction howto make Python run in Eclipse.
Finally, you can also use a simple text editor and a plugin with an interpreter.

You can use the following command in the command line (cmd) to find out the Python installation path in windows.

where python