Question about 'if __name__ == "__main__":'
PoD
pod at internode.on.net
Tue Feb 3 02:39:39 EST 2004
More information about the Python-list mailing list
Tue Feb 3 02:39:39 EST 2004
- Previous message (by thread): in c extension what is easiest way to build a (PyObject) list from an array of doubles?
- Next message (by thread): Question about 'if __name__ == "__main__":'
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, 02 Feb 2004 23:33:42 -0800, Amy G wrote: > I have a program that needs a little help. > Right now the program runs in my crontab. When it runs, it sets a few > variables based on a query to a MySQL database. I would like to modify it > so that it can run as it is... or if arguments are supplied, use those > instead of querrying the database. > Hint: len(sys.argv)
- Previous message (by thread): in c extension what is easiest way to build a (PyObject) list from an array of doubles?
- Next message (by thread): Question about 'if __name__ == "__main__":'
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list