Skip to content
Archive of posts tagged python

Automating with… Screenshots?

This thing is absolutely awesome. It gives me the feeling of living in the 21st century and shows how we are going to interact with computers in the near future. Well, as soon as it gets “production-ready” and voice recognition is applied. But that’s a different story. So what is it all about? Let’s say [...]

Some Django stuff

A few Django 1.1 functions someone may find useful. Project management django.utils.version.get_svn_revision def get_svn_revision(path=None): “”" Returns the SVN revision in the form SVN-XXXX, where XXXX is the revision number. Returns SVN-unknown if anything goes wrong, such as an unexpected format of internal SVN files. If path is provided, it should be a directory whose SVN [...]

RabbitMQ, Celery and Django

So why would you need a task queue? Let’s say you are building a Web application that is going to convert a fair amount of files (converting videos to Adobe Flash for instance). The other requirement is that a user must be notified when the video was converted and management tasks need to happen automatically: [...]