Creating your personal Python environment using virtualenv

Often you are working on a computer where you do not have the user privileges to install custom Python modules (or software in general). Or you do not want to mess with the operating systems Python environment. Then, sometimes you just want (or have to) install python modules with a specific version, e.g. to get …
Continue reading Creating your personal Python environment using virtualenv

Using Gildas/Class from Python

As many people have been asking me on how to use Gildas/Class from within Python, I’ll try to give a quick tour here. You will need to have Class installed including the Pyclass extension. Before you start the Python script you need to initialize Gildas in the shell. Make also sure it is in your …
Continue reading Using Gildas/Class from Python

Python autocompletion in VIM

Having autocompletion (and some other nice stuff) for Python in VIM is not only a nice feature, but something allowing you to be more efficient when programming Python. First see the result: Youtube: http://www.youtube.com/watch?v=TNMjbaimk9g To make the functionality (and color scheme) available, download the tarball (pythonVim.tar.gz) and extract it in your home directory (i.e. /home/your_user_name), …
Continue reading Python autocompletion in VIM