Du bist hier: Snippet-Verzeichnis » Python (121)
Sprache:

Snippet-Verzeichnis - Python 

Snippets

Cooperative Multithreading using Generators

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

Sprache: English | Programmiersprache: Python | Autor: brianobush [nicht registriert]

countbetweengrep.py

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

Sprache: English | Programmiersprache: Python | Autor: hfastedge [nicht registriert]

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.

Sprache: English | Programmiersprache: Python | Autor: fusiongyro [nicht registriert]

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 ...

Sprache: English | Programmiersprache: Python | Autor: xource [nicht registriert]

demoserv.py

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

Sprache: English | Programmiersprache: Python | Autor: spekkio [nicht registriert]

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.

Sprache: English | Programmiersprache: Python | Autor: scharf [nicht registriert]

eterm

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

Sprache: English | Programmiersprache: Python | Autor: fusiongyro [nicht registriert]

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.

Sprache: English | Programmiersprache: Python | Autor: cycon [nicht registriert]

FChttp

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

Sprache: English | Programmiersprache: Python | Autor: tomobiki [nicht registriert]

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.

Sprache: English | Programmiersprache: Python | Autor: purcell [nicht registriert]
RSS