Tag Archives: python

ASE Makes Android Development Pleasant

Having got myself a G1 phone a few weeks back I’ve been tinkering a lot. Mainly with the Android Scripting Environment that I plan on writing about soon but I thought I’d give a quick summary of what I’ve found so far on this platform – and why I don’t like it (kind of)! It [...]

Django Debug Toolbar

This looks very sexy – almost as sexy as DjangoPony.  Its a debug toolbar that was inspired by the PHP Symphony project.  Hold on now, don’t run away just cos I mentioned PHP.  This is pure Python goodness and its damn useful too.  It provides a load of debug info such as headers, exec time, [...]

Python Virtual Host Creator

I just threw together a quick Python script which generates a virtual host file, enables it, creates the web directory and restarts the webserver. It’s basic – but I found it useful.  Maybe someone else will too. #!/usr/bin/python import os, sys, getopt def main(argv): try: opts, args = getopt.getopt(argv, “hd:a:”, ["help", "domain="]) except getopt.GetoptError: usage() [...]

Python 3.0 Breaks Backwards Compat

But has lots of shiny new thigns to play with. You can see Python.orgs announcement. And read Ars take. My Take It feels like its been in development for a lifetime and its hard to believe its finally come around.  Some highlights include: Print is now a function so must be called like: print(“Doug is [...]

Top 15 Python E-Books (legal & free)

I’ll not soil this posting with talk of copyrighted works and will keep it to strictly free, ebooks available to all.  These are the top 15: Dive Into Python – The original but not the best anymore.  It taught me Python so I’ve got fond memories and a special place in my heart for it. [...]

Django and PayPal

Found a nice snippet at the DjangoSnippets site that shows how to integrate your Django app with PayPal. See the magic here.

Script OpenOffice Using Python

Looks like Python is everywhere – even OpenOffice.  The PyUNO Bridge enables you to interact with the OOo API to extend its functionality.  Its feature complete but undergoing testing – get involved.

Switching From Rails to Django: Why?

Rails is crap.  There – I said it.  Apologies to the geek with a peanut dick but it just sucks really bad. Compared to PHP – Rails is Great Yeah it is great – its epic in fact.  But then again that isn’t very hard is it considering how shit PHP is? Stop Stealing Ruby’s [...]

Django 1.0.1

The latest release of Django is here: 1.0.1 Summary of Changes: Comment module fixes. Oracle interface fixes. In-line form fixes. Lots more fixes!! Docs updated.

Python Templating

I’ve spotted two mentions of Python templates on a well known RSS lately so thought I’d throw together a quick intor of the major ones – partly for me to keep track but I thought I’d help the Pythonistas out too. So here goes… Mako This is the replacement for the Myghty template system and [...]