Inno Setup Python
This script converts Python source code to HTML markup, rendering comments, keywords, operators,numeric and string literals in different colors. It shows how to use the built-in keyword, token and tokenize modules to scan Python source code and re-emit it with no changes to its original...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (49): Colorize Python source Download |
This script represents a simple implementation of the standard UNIX utility tail -f in Python.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (55): Tail -f in Python Download |
The python-bz2 module provides a comprehensive Python interface for the bz2 compression library. It implements a complete file interface, one shot (de)compression functions, and types for sequential (de)compression. Features python-bz2 provides the following features: BZ2File implements...
Platforms: *nix
License: Freeware | Size: 20.48 KB | Download (48): python-bz2 Download |
This script provides the ability to write your own Python shell, which you can use to filter out input or output, and embed it in another application.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (58): Embed a Python shell in a user interface Download |
Guestbook is a Python script that allows you to add a 'guestbook' facility to your website. It is fully customisable using HTML templates - so the guestbook can be fully integrated with your website. The entries are saved in a plain text file, for easy editing, and there is a naughty word filter...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (79): Voidspace Python Guestbook Download |
One problem with ending all of your python scripts in .py is that you have to type the full name of the command. On Unix you can symlink to it with the shortened name, or wrap it in a bourne-shell script, or a shell alias. None of these solutions is particularly clean. On MS Windows, file...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (52): Python scripts without .py extension in DOS shells Download |
Romantic love poem in Python script demonstrates the use of basic Python functions.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (56): Romantic love poem in Python Download |
Simple ldap with python script shows some example of ldap library use with python.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (52): Simple ldap with python Download |
This script is a useful wrapper around the python command line shell to allow editing of the last typed in lines of code in an external editor.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (50): Editable buffer for the Python shell Download |
Python symbols is a toy module that shows a way to define symbols inside functions, using a decorator.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (52): Python symbols Download |
Some python style switches script shows several ways of making a 'switch' in pyshows sevbr />
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (52): Some python style switches Download |
This script generates a Windows command file that executes a Python program. The windows command file will have the same filename as the Python program, but will have a '.cmd' extension instead of '.py. It will pass its command line arguments to the Python progxtension br />
Platforms: Windows, Python,
License: Freeware | Download (53): Execute Python program from Windows Cmd. file Download |
For quick-and-dirty processing of Python source files, it can be convenient to have a regular expression that matches Python string literals. This script provides such a regular expression. The example use case above shows how it could be used to rename a variable in a P shows hoe.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (59): Regular expression for python string literals Download |
In Python, any variable can be re-bound at will -- and modules don't let you define special methods such as an instance's __setattr__ to stop attribute re-binding. This script allows you to manage constants in Python.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): Constants in Python Download |
Memento design pattern in python script allows you to cache instances based on what arguments are passed to them.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (57): Memento design pattern in python Download |
This script lets you take into account time spent in C modules when profiling your Python code. Normally the profiler only profiles Python code, so finding out how much time is spent accessing a database, running encryption code, sleeping and so on is difficult. Profilewrap makes it easy to...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (53): Allowing the Python profiler to profile C modules Download |
This script contains a function that adds the specified path to the Python system path if it is not already there. It takes into account terminating slashes and case (on Windows). It returns -1 if the path does not exist, 1 if it was added, and 0 if it was not (because it is already present).
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (55): Dynamically change the Python system path Download |
PDO: Python Database Objects, is a collection of objects for use with Phase or with the Python Programing Language. PDO is designed to be robust and simple at the same time, allowing access to multiple styles of databases, with one set of instructions. This means never having to worry again about...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (67): Python Database Objects Download |
This is a Python module for making simple Text/Console-mode user interfaces on Unix/Linux systems.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (56): Python Dialog Download |
This package is a loosely defined collection of tools for application of Python in a laboratory environment. It consists of pure python protocol drivers for various useful devices, including: National Instrument DSTP protocol to interface Python to LabVIEW VXI-11 protocol, to allow python to talk...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (59): Python Laboratory Operations Toolkit Download |