On 08/30/2011 04:18 PM, Yves S. Garret wrote:
I don't know about Windows (if anyone does, please say so), but in a
*nix OS putting this (don't remember its official name) at the top of
your file can help:

#!/usr/bin/env python


It's called a 'shebang line,' and it's ignored in Windows.

It's important in *nix, but the file still has to be executable.

If you invoke Python manually then the line isn't necessary.

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to