Cyrille Rossant

What's wrong with scientific Python?

2014-01-15

tl;dr: Although not perfect, Python is today one of the best platforms for scientific computing. It's getting even better everyday thanks to the amazing work of a vibrant and growing community. I reviewed Python's strengths in a previous post. Here, I cover the more sensitive issue of its weaknesses.


Why use Python for scientific computing?

2013-07-01

Why use Python for scientific computing? This is a legitimate question. For us, regular Python users, using Python is so natural that we sometimes forget that this choice is not obvious for everyone. Matlab is very widely used in some communities (e.g. experimental biologists) and choosing a different platform requires extensive proselytism. We need to find the right words to convince people that Python is really the future for scientific computing.


Start an IPython notebook server in Windows Explorer

2013-06-30

When one starts using the IPython notebook seriously, there is often the need to open a server in the current directory to open or create a new notebook. Whereas this is straightforward on Unix systems (e.g. ipython notebook --pylab inline) since users typically use mainly the command-line, it is a bit more cumbersome from the graphical Windows Explorer. One needs to open a console, go in the current directory, type the command, open the browser, and go to http://127.0.0.1:8888 (unless the browser automatically launches).

Here is a simple method to simplify the process. It is based on the great AutoHotKey tool which lets one automate repetitive tasks with e.g. keyboard shortcuts.


Create a standalone Windows installer for your Python application

2013-06-12

I am developing a scientific application in Python with a graphical user interface in Qt. Some end-users use OS X or Linux, but most of them are Windows users who are not familiar with Python or with a command-line interface. It is notoriously difficult to distribute Python applications to end-users who are not programmers, and it's a common criticism that is made against Python.


Vélib' Open Data

2013-05-05

Vélib', the public bicycle sharing system in Paris. I've written a short IPython notebook to play with some of the data, and to illustrate how easy it is to use Python for browsing and analyzing public data sets. Here is an image representing the stations in Paris, with the marker size proportional to the number of bike stands in each station, and the color indicating how many available stands there are. The Seine is easily recognizable, and the fact that most stations near the river are full might be linked to the fact that this data has been obtained on a sunny Sunday of May...

Vélib open data, Paris