> #!/usr/bin/env python > import app Yes, of course this is a possibility. But it implies having (or giving away) two files.
I think having one file is always better than having two files. Because if you have two files, you need a third one: a README that tells you what to do with the two files and that one of the files must either be in $PYTHONPATH, or in the same directory as the other one and '.' must be in your $PYTHONPATH , and so on. Actually, some people will also need a fourth file: One that contains an explanation of terms like "$PYTHONPATH" and the like. Jörg -- http://mail.python.org/mailman/listinfo/python-list