Python Script Viewer Icon

Python Script Viewer

Written to take advantage of the custom CGI module

Python Script ViewerOverview

First of all, this code was written to take advantage of the custom CGI module that I wrote. The purpose for this script is to allow someone to view a CGI script through a server. I have the problem that when I click on a python (*.py) file while viewed through my browser, the script is run so that it cannot be viewed. Unless the script is using "cgi.execute(function, exception)", then there is no way of getting around the problem. Therefore, this CGI application was written so that python files (and only *.py files) can be viewed if the user knows either the filename of a file in the same directory as this script or the full path of a file somewhere on the host computer. Warning: do not use this script if you do not want someone to view any and all python scripts on your computer!

NEW

Fixed some bugs.

Python Script ViewerInformation

Version
1.0
Date
03.09.10
License
Language
English
File Size
N/A
Category
SubCategory
Operating Systems
Windows ,Linux,Mac OS,BSD,Solaris
System Requirements
No additional system requirements.
Profile Cleanup Icon
Specify but is used here primarily to cleanup a profile in Windows.
Free
Schedule Maker Icon
Schedule Maker is designed to create schedules once was given a valid informatio
Example For winreg Icon
This recipe is another example of how to use the winreg module.
Encrypting A String Icon
The main purpose of these functions are to encrypt and decrypt a string
Artificial Windows Icon
There are probably other, better ways of printing ASCII graphics in Python
Free
A simple date class Icon
This recipe can be used by anyone who wants a date object for a program
Free
ZChat Icon
Provide an example of how the z_service module can be used.
Port Forwarding Icon
The title of this recipe contains the two words that gave the inspiration
More
Principal Component Analysis (PCA) Icon
A class that carries out Principal Component Analysis (PCA).
Free
SRCDS Icon
A library to interface with Half-Life2 Dedicated Servers
Free
Complex Boolean Regular Expression Class Icon
Need to look for the occurence of words in a string or group of words
Free
Display an Image from a specified file Icon
Reads an image file from the filename specified as the 1st parameter
Free
Quickslice decorator Icon
Quickslice decorator script defines a decorator that allows for an abbreviated
Free
mx.ODBC example Icon
mx.ODBC example script shows you how to get the columns of a table and get data.
Free
Python replacement for java.util.Properties Icon
Quick and easy way to process Java properties files using pure Python
Free
Merging two sorted iterators Icon
Provide a mergeiter() function that can merge two iterators into single iterator
Free
More