[Tutor] newbie question

Alexander C Halavais alex@halavais.net
Wed, 24 Jul 2002 22:34:33 -0400


This may be obvious: but are you sure you aren't leading with a newline. It
looks like that may be the problem (though it's hard to tell via the
browser). I.e., #! /usr/bin/python must be on the very first line. Again,
I'm sure this is obvious, but are you sure of the location of the
interpreter?

Alex


-----Original Message-----
From: tutor-admin@python.org [mailto:tutor-admin@python.org]On Behalf Of
kyle@sent.com
Sent: Wednesday, July 24, 2002 9:41 PM
To: tutor
Subject: [Tutor] newbie question


So far I have a few small programs I wrote to use on my computer, but
expanding what I have learned on web pages if confusing me because
there is one stupid newbie rule that I don't know and can't find.
What's the big secret of the content type?  As you can see at
http://sbn.f2o.org/cgi-bin/test2.py I can't even get (literally) the
simplest of scripts to execute because the source gets dumped whenever
I try.  So what is the rule?  I know it's simple, but I searched google
and looked in the docs came out empty handed.

Thank you,
--
Kyle

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor