On Fri, Feb 17, 2012 at 9:20 AM, John Gordon <gor...@panix.com> wrote: > Here's what PyScripter inserts in a new python file: > > #--------------------------------------------------------------------- > # Name: module1 > # Purpose: > # > # Author: $USERNAME > # > # Created: $DATE > # Copyright: (c) $USERNAME $YEAR > # Licence: <your licence> > #--------------------------------------------------------------------- > #!/usr/bin/env python > > def main(): > pass > > if __name__ == '__main__': > main()
The shebang has to be the first thing in the file to be useful. As it is above, it might as well not be there. I would suggest also including a doc string in the skeleton. Cheers, Ian -- http://mail.python.org/mailman/listinfo/python-list