BMW CarIT Logo Typo

Blog

News, ideas and events

Blog

The built-in Python help system

Background Sometimes you may find yourself in a situation without internet connectivity, like in a plane, but still you want/need to browse the Python documentation. So what can you do if you can not reach the online documentation [1] ? The Python built-in help system The answer to the aforementioned question is easy: you start […]

Full article

A short note on virtualenv

Background Although I have been programming in python for several years, I have only recently learned about virtualenv [1] . Virtualenv is not a python library you use in your project, but on top of your project. It isolates your python environment and (additional) installed packages. This allows you to separate project specific packages from […]

Full article

Python unittesting, a gentle primer

Background The Python module unittest is a built in module that comes with the standard Python installation. Its API is similar to the JUnit or CppUnit testing frameworks. Extending the staged example from my previous blog post (http://www.bmw-carit.com/blog/two-python-modules-i-wouldnt-go-without) I would like to share with you how easy it is to do unit testing with Python. […]

Full article

Two Python modules I wouldn’t go without

Background Recently I was working on a Python based project. Some of the modules were written from scratch. In this post I would like to share with you two built-in Python modules which are easy to use and should be in every Python programmers arsenal: logging and argparse There is good and in-depth documentation out […]

Full article