You're here: Snippet Directory » Python (121)
Language:

Snippet Directory - Python 

Snippets

Cooperative Multithreading using Generators

Simple example of how to use generators to create a cooperative multithreading system with signal handling.

Language: English | Programming Language: Python | Author: brianobush [not registered]

countbetweengrep.py

Explanation: pipe grep -n PATTERN into this program and it will calculate the distance between each occurence.

Language: English | Programming Language: Python | Author: hfastedge [not registered]

crlf

crlf performs DOS to UNIX conversion and UNIX to DOS conversions. It will decide on its own which way to go, or you can provide it with a commandline argument to tell it which conversion to perform.

Language: English | Programming Language: Python | Author: fusiongyro [not registered]

currency2word.py

A python module to convert a given number (amount of money) to word. Suitable for invoice and voucher aplication. Currently support English and Malay.e.g. 4329.34 - four thousand three hundred twenty nine and thirty four cents or empat ...

Language: English | Programming Language: Python | Author: xource [not registered]

demoserv.py

A simple script to show how one may set up a server program in python.

Language: English | Programming Language: Python | Author: spekkio [not registered]

dos2unix.py

Convert DOS (CRLF) file to UNIX (LF) and reverse.It will try to figure out, if the file is binary and not convert it unless -f is given.There is also a dry mod.It can perseve the modification date of the converted files.

Language: English | Programming Language: Python | Author: scharf [not registered]

eterm

eterm - Wrapper script for Eterm 0.9 (devel) which gives a random shading AND gives Eterm your options (allowing eterm -e command, etc)

Language: English | Programming Language: Python | Author: fusiongyro [not registered]

Eudora Light to Imp Webmail Addressbook Converter

This program will take in a username and a eudora light addressbook file, parse out extraneous and non-usable information (such as notes and group lists), and insert the addresses into IMP's MySQL database.

Language: English | Programming Language: Python | Author: cycon [not registered]

FChttp

FChttp is a set of classes to build web client application (spider, browser, etc..)

Language: English | Programming Language: Python | Author: tomobiki [not registered]

findjclass

Python script for Java developers working on Unix platforms. Takes as parameters the names of Java classes, and prints out their location on the active CLASSPATH, whether in a directory or inside a zip or jar archive.

Language: English | Programming Language: Python | Author: purcell [not registered]
RSS