© Copyright 2000-2015 Source Code Online. Free Source Code and Scripts Downloads.
|Code Listing by Michael Foord|
This CGI will generate a simple text 'hit counter' for several sites.
Useful to ocunt visitors to the 'front door' of your website.
A simple HTML 'parser' that will 'read' through an HTML file and call functions on data and tags etc.
Useful if you need to implement a straightforward parser that just extracts information from the file or modifies tags etc.
Create objects that act as both context managers and as decorators, and behave the same in both cases.
Works with Python 2.4 - 2.7 and Python 3. The tests require unittest2 or Python 3.2 to run. (And because the tests use the with...
total_ordering and force_total_ordering are class decorators for
Python 2.6 & Python 3.
They provides all the rich comparison methods on a class by defining any
one of '__lt__', '__gt__', '__le__', '__ge__'.
cookielib is a library new to Python 2.4
Prior to Python 2.4 it existed as ClientCookie, but it's not a drop in replacement - some of the function of ClientCookie has been moved into urllib2.
This example shows code for fetching...
Run an arbitrary string on the server as a shell command. Mimics a very basic shell environment on a server using CGI.
This CGI script allows you to specify a URL. It fetches the URL and displays all the headers sent by the server.
It is based on approx.py the CGI-proxy I'm building. It includes authentication circuitry and I'm using it to understand http...
All files and free downloads are copyright of their respective owners. We do not provide any hacked, cracked, illegal, pirated version of scripts, codes, components downloads. All files are downloaded from the publishers website, our file servers or download mirrors. Always Virus check files downloaded from the web specially zip, rar, exe, trial, full versions etc. Download links from rapidshare, depositfiles, megaupload etc not published.