★ wanayoo — archive 1999 http://www.devshed.com/Server_Side/Python/CGI/comments.html/c4550Nouvelle recherche | Portail wanayoo

Developer Shed
Tuesday, 06.20.2000  
And now for something completely different... Python has a very extensive, well documented and portable module library that provides a large variety of useful functions. The Internet-related collection is particularly impressive, with modules to deal with everything from parsing and retrieving URL's to retrieving mail from POP servers and everything in between.

HOME > SERVER SIDE > PYTHON > ARTICLE > COMMENTS    PHP SOURCE

Power Search
Free Newsletter:


Client Side
• DHTML
• Flash
• Graphics
• JavaScript
• XML

Server Side
• Administration
• JServ
• MySQL
• Perl
• PHP
• Python
• Roxen
• Zend
• Zope

Tools
• HTML Editors
• Graphic Editors
• FTP Programs

Dev Talk
• Forums
• Mailing List
• Brain Dump
• Developer News
• Feedback

ClipScripts
• Add script
• Edit script

Other Stuff
• DevShed RDF
• Propaganda!


Advertise
on DevShed
.
Writing CGI Programs in Python
And now for something completely different... Python has a very extensive, well documented and portable module library that provides a large variety of useful functions. The Internet-related collection is particularly impressive, with modules to deal with everything from parsing and retrieving URL's to retrieving mail from POP servers and everything in between.

Name: John Draper
Subject: CGI Tutorial a sick joke
Date: 05-04-2000 03:35PM

I don't know who wrote the CGI tutorial, but it must be for the most advanced experts in CGI problems. I copied the script and pasted it into my text editor, making double sure I had the indention correct, but I have the following output from the server logs. Is there anyone on here that can help me? inconsistent dedent File "/var/www/crunch/cgi-bin/sample1.py", line 17 TemplateHandle.close() # close the file ^ SyntaxError: invalid token [Thu May 4 14:13:21 2000] [error] [client 24.12.33.17] Premature end of script headers: /var/www/crunch/cgi-bin/sample1.py Is there anyone on this system that can help me? Please reply with your Email - I might not be able to get to this forum. John


Other posts in this thread:
 Top
 • CGI Tutorial a sick joke  John Draper  05-04-2000 03:35PM 
       • Re: CGI Tutorial a sick joke  Nopparat Chomchoei  06-02-2000 02:13PM 
             • Re: CGI Tutorial a sick joke  John Draper  06-02-2000 04:49PM 


Reply to this post:
Name:

Preview Comment.
Notify me of replies to this message.
Email:
Subject:
Tip: Put any source code between [code][/code] tags to increase readability


Visit the Python Forum!

New On DevShed:
• Perl 101 (Part 3) - Looping The Loop
• Underwhelmed by WAP - Impressions from the coalface
• WAP-Enabling a Website with PHP3
• Building an E-Commerce Site Part 3: Catalogs and Shopping Carts
• The Soothingly Seamless Setup of Apache, SSL, MySQL, and PHP
• Perl 101 (Part 2) - Of Variables And Operators
• The Shell Game
•  Submit Your News..

Hot Forum Topics:
• Problem Writing to file.
• Dynamic Dependent Drop Down Boxes
• htaccess variables
• helpd with JOIN, DELETE, etc...
• Counting across a row...
• How to read data from last to first when use resultset


Adsmart Network ad
Copyright © 1997-2000 ngenuity. All rights reserved. Privacy Policy.