py to exe: suggestions?

2005-08-28 Thread chris patton
I need to convert a python file to an '.exe'. I've tried py2exe, and I don't like it because you have to include that huge dll and libraries. Thanks for the Help!! -- http://mail.python.org/mailman/listinfo/python-list

the problem wtih cgi

2005-05-27 Thread chris patton
Hi everyone. Has anyone seen that problem with running a python cgi script in a server? It takes you to myspace.com/redmartian or something. Anyway, does anyone know when this problem will be fixed? -- http://mail.python.org/mailman/listinfo/python-list

Re: sys.stdout question

2005-05-02 Thread chris patton
I tried adding the comma at the end print 'hello', It still added that extra character. -- http://mail.python.org/mailman/listinfo/python-list

sys.stdout question

2005-05-01 Thread chris patton
>>> import sys >>> class stuff: ... things = [] ... def write(self, string): ... self.things.append(string) ... >>> def_stdout = sys.stdout >>> sys.stdout = stuff() >>> print 'this is a string.' >>> print 'This is another string.' >>> sys.stdout = def_stdout >>> print stuf

question about functions

2005-04-14 Thread chris patton
Hi everyone. I have a question about passing arguments to python functions. Is there any way to make this job act like Perl? sub my_funk { print "the first argument: $_[0]\n"; print "the second argument: $_[1]\n"; } In other words, can I call the arguments from a list? -- http://mail.python.

Re: problem running the cgi module

2005-03-31 Thread chris patton
Thanks alot. This helps tremendously -- http://mail.python.org/mailman/listinfo/python-list

Re: problem running the cgi module

2005-03-30 Thread chris patton
Thanks for the help. -- http://mail.python.org/mailman/listinfo/python-list

problem running the cgi module

2005-03-30 Thread chris patton
Hi everyone. I'm trying to code an HTML file on my computer to make it work with the cgi module. For some reason I can't get it running. This is my HTML script: -- HOWDY! -- And here is