Django in command-line scripts

Now here’s something that seems unusual… using Django in command-line scripts:

Sometimes, I need to write command-line scripts to populate a database with information from some other source, like a webpage or third-party database. Since Django uses MySQL (among others) for its backend storage, it’s fairly easy to use Perl or any other language for this task. Problem is, it’s very boring and fiddly, so now I tend to use Django instead, which is really easy.

Interesting.

One Response to “Django in command-line scripts”

  1. Simon Burns Says:

    10percentofeverything is no more, but I’ve republished the article here:

    http://surftrackr.net/blog/view/35/using-django-command-line-scripts/

    Thanks for taking an interest :)

Leave a Reply