Skip to content

Python_index_5

Pete Garcin edited this page Dec 12, 2017 · 5 revisions

qemu-nbd Python wrapper
QGIS startup script: Change display of coordinates
Qt + Twisted (threadedselectreactor)
Qt Event Processing & Python Threads
QtBreadCrumbsBar
QuackTemplate.Wrapper
QuadKeys Generator - useful for N'ary strings generation
Quadratic
Quantitative Concentration Ratios Calculation
Quantum Superposition
Quasicrystal Pattern Generator
query
Query a rpm file and return a dict with of various rpm tags
Query Access using ADO in win32 platform
Query CSV file
query custom answers
Query whether an interface is up on UNIX
query yes/no
query yes/no/quit
Queue for managing multiple SIGALRM alarms concurrently
Queue with tagged items
Quick and easy FIFO queue class
Quick implementation of DIP (Dynamic IP) protocol using Twisted
Quick Numerical Integration
quick Python profiling with hotshot
Quick Test If Strings Are Identifiers
Quick-and-dirty Windows drive detector
Quicken QIF file class and conversion
Quickly add all dirs to sys.path if dir has .py file
Quickly calculate folder or volume size
Quickly remove or order columns in a list of lists
Quickslice decorator: Abbreviated slice arguments in functions
Quiz Me 2.5 (exe_queue)
Quiz Me 2.5 (gui_logs)
Quiz Me 2.5 (main)
Quiz Me 2.5 (quizcore)
Quiz Me 2.5 (splash)
Quiz Me 2.5 (teach_me)
Quiz Me 2.5 (testbank)
Quiz Me 2.5 (XML example)
Quote python strings for safe use in POSIX shells
Rabin-Miller probabilistic prime test
radix.str(N,R) -- reverse function to int(S,R) and long(S,R)
Rain of Bombs
random 3 CNF problem generator
Random Binary List
Random field test design
Random fractal curve
Random Maze Generator
Random Multi-Maze Generator
Random numbers with arbitrary probability distribution.
Random Password Generation
Random Password Generation
Random Passwords
Random Planet Generator Using Plasma Fractal
Random samples without replacement
Random selection of elements in a list, with no repeats
random send mail, sms or popup window
Random Sound FX Using WAV File
Random Spiral Fractals
Random URL
Random user generator
Randomize an iterator
randomized integer range iterator
range as iterator (obsolete)
Range comparison
Range minima and least common ancestors
Rating class with mapping interface
Rating System
Rational approximations
RC4, ARC4, ARCFOUR algorithm
RE match and replace through operator overloading
Re-evaluatable default argument expressions
Reaction Diffusion Simulation
Read a file backwords
Read a text file backwards
Read a text file backwards (yet another implementation)
Read a text file by-paragraph
Read all Excel cells in all sheets without telling the range
Read configuration from a text file in WinIni format!
Read CSV with D and write it to PDF with Python
Read data from .zip files
Read flash video (.flv files) metadata
Read OpenOffice Spreadsheet as list of lists (without UNO)
Read simple initialization file
Read tabular data from Excel spreadsheets the fast and easy way
Read tabular data from Excel spreadsheets the fast and easy way
Read text data from the network port
Read-Write Lock class, RLock like
Read/write object for pkg-config files
Readable switch construction without lambdas or dictionaries
READBIN.PY -- A Command Line Utility For Reading And Printing A Formatted Hex/Character File Dump
Reader-Writer lock with priority for writers
Reading and writing mbox style mailbox files.
Reading from and writing to the Windows Registry
Reading Guide Generator
Reading large files from zip archive
Reading Lines with Continuation Characters
Reading the System information
Reading XML into dict-like object
ReadOnlyPrivateSingletonImplicitThisMetaClass
ReadWriteLock
REAL case insensitive string replace
Real Mixins
Really closing stdin, stdout, stderr
rebase -- convert a number to/from any base in range(-256,257)
Rebind
Rebind class properties
Recapitalize word in the beginning of every sentence
receive UDP broadcasts
Recipe With No Name Yet
Recognizing speech (speech-to-text) with the Python speech module
recommandation engine for del.cious.us
Record and Playbac using standard Python.
Record-Jar Parser
Records
Recordsets supporting zero terminated strings
Recoursive File Moving
Recover files from damaged media
Recreate MS Access table in SQLite
Rectangle_Method
Recurse copy file
Recursion/loop prevention function decorator
RecursionError exception: concise and informative output
Recursive defaultdict
Recursive directory listing in HTML
Recursive file/folder cleaner
Recursive find and replace in all files in directory with regex
Recursive find replace in files using regex
Recursive function to replace nested for loops (cartesian product)
Recursive Functional State Machine
Recursive Mandelbrot Generation
Recursive Multimedia (audio, video) M3U Playlist Generator
Recursive nlst() [was: FTP Directory Tree Retrieval]
recursive sorting
Recursively defined, Haskell-style infinite lists
Recursively dumping the structure of an HTML5 document
Recursively look up groups in Active Directory
Recursively print (nested) dictionaries
Recursively querying for registry subkeys
recursively update a dictionary without hitting "Python recursion limit"
Recursively walk Python objects
Recursivemethod
recvall corollary to socket.sendall
recvall2 (another way to do a recvall like the helpful sendall)
Red black tree
Redate pictures with EXIF
Redate source files using SVN info from $Id:$
RedirectedIO context manager and redirect_io decorator
reduce as a generator
Reduce dicts
Reduce memory usage of "re" module
reducipes: Excuses to use the reduce built-in
Reevaluate functions when called
Reevaluate functions when called, v2
Reevaluate functions when called, v3
Reference count checking
References for Python.
Refining an FTP Site List
reformatting clipboard text on win32
Refreshing the Windows Desktop -- New Help for the Absent-minded
RegConfig - Use the registry as a configuration file.
regexplace: regular expression search and replace
Register exit function
Regular Expression for generic sequences of symbols
Regular expression for python string literals
regular expression point of failure
Regular Polygon Fractals using Iteration method.
Regular Polygon IFS Fractals
Reimplementation of rmtree supporting Windows reparse points
Reindenter
relative import shortcut
Relative path from one directory to another without explicit string functions (unix only)
Relativistic Rocket Kinematics
Releasing a Resource used by a Generator
Reload Tkinter application like a browser
Reloadable Class Wrapper
Reloading all modules
Remote control with telnetlib
Remote database access using XML-RPC and SOAP.
Remote Shutdown on Windows
remotely exit a XMLRPC Server cleanly
Remove control character ^M from opened html files
Remove diatrical marks (including accents) from strings using latin alphabets
remove directories recursively
Remove Duplicacy from a Python List
Remove duplicate files
Remove duplicates from a sequence
Remove FTP directory walk() equivalent.
Remove ID3 tags from MP3 files
Remove the .pyc files from current directory tree and from svn
Remove the real "input()" function from a current text mode Python 1.4.0 to 2.7.2 session...
Remove whitespace-only text nodes from an XML DOM
Rename MP3 files from ID3 tags (does not require external ID3 modules)
Rename non-ASCII filenames to readable ASCII, i.e. replace accented characters, etc
Renamer
Render farm script
Render tables for text interface
Rendering Arbitrary Objects with CherryPy
Rendering arbitrary objects with Nevow
Reorder a sequence (uses generators, and recursion!)
Reorganize mp3 from an ipod to a Artist/Album{s}/songs structure
Repair common Unicode mistakes after they've been made (obsoleted by ftfy package)
repeating alternator
Replace embedded Python code in a string with the results of executing that code
Replace if and while statement expressions with '0'.
Replace occurrence off string in files under directory tree
Replacing a portion of a string
repr() of containers with non-ASCII strings
Representing a Graph with different connection types on GAE using PolyModel
Representing a set in a compact way
ReseekFile
Resettable Timer Class
Resettable Timer class (a little enhancement from python builtin Timer class)
reshape a sequence
resizable ctypes arrays
Restricted "safe" eval
Restricted dictionary
Restrictive APIs for Python
resultset.py
Resuming download of a file
Retrieve Dell Warranty Information for all machines in AD Domain
Retrieve word definitions from online dictionary site
Retrieve word definitions from online dictionary site
Retrieving a line at random from a file of unknown size
retrieving emails from POP3 server
Retrieving the median of a set in constant time
Retry Decorator in Python
Retry loop
Retry loop
return element of list if it exists
Returning results from the XML interface at searchhippo.com
Reusing default function arguments
reverse a string
Reverse DNS zone file generator
Reverse engineer MS Access/Jet databases
Reverse Lookup Yellow Page
Reverse the byte order of an unsigned 'int' or 'long' number in Python
Reverse the sequence of annotations on a PDF page
reverse,sort,extend string/tuple/list
Reversed Ranges
Reversi Othello
Reversing a String by Words or Characters
Reverting Columns of a 2D Iterable
RFC 822-style parser
Rich Comparison Mixin
Rich iterator wrapper
RICHVALUE: Extra return values in transparent style
Riddle's Authentication System
Riemann Zeta Function Graph
Right method names suggestion
Ring buffer
Ring List. A fixed size circular list
RoadRunner: recursively updates the contents of a directory tree.
Robot Pager (Search engines and others)
Robust Testing of Tkinter Menu Items with Mocking.
Robust Textual Tables
Rock,Paper,Scissors
Roll your own Postscript code from scratch
Rolling dice
Roman numeral class with overloaded int methods
Roman Numeral Converter
Roman Numerals
Romantic love poem in Python
Rookie's Backup Program
Root access required to run a script
Rot13 Quine
Rotatable Tetrahedron
Rotate a PDF page in 3 lines
Round number to specified number of significant digits
Round to base
Round-Robin Pairings Generator
Roundrobin generator
Routine to i18nify any word
Routines for programmatically authenticating with the Google Accounts system at Google App-Engine.
RPDB (RobotPythonDebugger) -- a smarter way to debug robotframework tests
RPN Stack class
RSA
RSA: a simple and easy-to-read implementation
RSH with timeout
Rss aggregator with twisted
Rsync Algorithm
Ruby like syntactic sugar
Ruby-style DSL's in Python 2.5
Rudimentary Database Engine
Run a function in a separate (forked) process without blocking
Run a task every few seconds
Run async code inline, nonblocking
Run async code inline, nonblocking
Run asynchronous tasks using coroutines
Run command in Win32 Registry
Run function in separate process
Run OS command with timeout on a list of files using several threads
Run screensaver from Python
run several works concurrently with Twisted
Run some command every x seconds
Run SQLite-connections in isolated threads
Run time linked attributes
Run two instances of Windows Explorer side by side
Running 2Balls in Vpython by Flip-Flopping.
Running Batch Commands
Running linux command inside your python script
Running Median
Running median, mean and mode
RunningCalc
Russian Multiplication in Python
Safe Expression Evaluation
Safe heap queue class
Safe HTML string and unicode
safe print
Safe unicode representation
Safely (over)write a file
Safely and atomically write to a file
Safely morph a file in-place
safer serialization of simple python types
safer serialization of simple python types, part two
safetkinter.py
sample with replacement
Samuel F. B. Morse's Code
sane tab completion in pdb
sav2mdb
Save and restore SHA-512 internal state
Saving [logging.] disk log fragment into separated file
Saving a numpy array to png image using fitz / MuPDF (PyMuPDF)
Saving a Tkinter canvas image or animation using PIL
Saving backups when writing files
Saving snippets to SQLite3 database
SAX to DOM Chunker
scale rectangle while keeping aspect ratio
Schedule Maker
Scheduled Queue
scheduler
schizoid
Scope qualifier for globals
Scour Microsoft Windows registry for a list of name server addresses
Scramble a string of words, preserving spaces
Scramble Word
Scrambled word solving game
Script for cache invalidation at Amazon CloudFront
script for calculating simple interest
Script for GAE Blobstore migration from Master Slave to High Replication Datastore
Script para descargar videos desde http://www.chilevision.cl/
Script para saber calida del aire Santiago de Chile
Script para transformar videos compatibles con reproductor MP4
Script that compares various Interest Rate term structure models.
Scripting iTunes (for Windows) with Python
Scrolled Frame V2
Scrolling frame with mouse wheel support
SEA Example
Search and replace text in a file.
search file extensions in directory
Search for oranges with the wikipedia Python library
Search Google scholar
Search nth smallest element in really big file
Search sequences for sub-sequence
Searching .dll and .exe files in PATH
searching in list of maps
Searching nested strings
Secant Method of Solving Equtions in Python
secondsToStr - h:mm:ss.sss formatting of floating point seconds
Secure Password Generator
Securely processing Twilio requests from Tornado
sed/awk : Python script to rename subdirectories of a directory tree, replace strings in files
SEDOL code validator and checksum generator
See How getattribute Interacts With Special Methods
See What the Builtins Are
Select some nth smallest elements, quickselect, inplace
Select the nth smallest element
Selective cleanup (deletion) of files (based on category and extension) for use by a SABnzbd+ external post-processing script
Selective directory walking
Self Counter
Self Extracting Archiver
Self-contained TWL06 Dictionary Module (515 KB)
self-logging exceptions
Self-managing, maintenance-free Signals implementation
Self-recursive generators
Self-updating pickles, based on CVS revision string
self.super
Semi-automatic resource management with AutoClose
send a multipart email
send a multipart email via gmail's SMTP server
Send an HTML email with embedded image and plain text alternate
Send an HTML email with embedded image and plain text alternate
Send an HTML email with embedded image and plain text alternate
Send and receive SMS messages using TextMagic
Send autohotkey commands with Python
Send Email
Send HTML Mail From Python
Send HTML or Text email with or without attachments
Send messages between computers
Send Messages to millions of facebook Users
Send SMS messages to ATTwireless phones
Sending binary data to stdout under Windows
Sending Email From A Python Program
Sending Email in Python
sending gmail though python code
Sending multipart MIME email with smtplib and MimeWriter
Sending non-ASCII emails from Python 3
SendKeys from the Windows Script Host (WSH) COM
Sensible Loop Status
Separating Pattern Implementation from Your Code
Sequence Builder
Serialize and Deserialize Securely
Series generator using generators & function decorators
Series generator using multiple generators & function decorators
Serve PageTemplates with Medusa
Serve PDF with Netius, a pure-Python network library, and xtopdf
Serve static web content from within a gzipped tarball to save space using CherryPy
Server side JavaScript dependency resolution
Server supporting IPv4 and IPv6
serving dynamically-generated PDF files via XML/RPC
Set Default Command-line Arguments
Set environment variables for using ssh in python from an ssh-agent call
Set executable mode where needed: directories, ELF files and scripts
Set Process Priority In Windows
Set product
Set the logging level to every logger
Set windows 7 to lock itself (upon timeout) if no internet connection found - security measure
setdict
Sets using a sorted list of integers representing the items
Sets with a custom equality/uniqueness function
Setting Namespaces
Setting up a listbox filter in Tkinter(python 2.7)
Setting Win32 System Clock Using SNTP
Settings Organizer
Seven Bit Colored Analogue Bar Graph Generator DEMO...
Shannon Entropy Calculation
Shannon-Fano Data Compression
Shared Clipboard
Shared lock (aka reader-writer lock) with timeouts and FIFO ordering
Sharing-aware tree transformations
Shelf alternative using hashed keys as filenames and pickled values
ShelfProxy
shell - Easily call executables from Python
shell sort
Shell-like data processing
Shell-like data processing, using generators
Shell-like data processing, using Popen, pipes, and Thread
shift chars in string
Shoelace Formula for polygonal area
Short Enum Recipe
Shortcut Utility
Shortest Common Supersequence algorithms
ShortForm
Show all the telecommuting jobs from the Python Job Board
Show all url patterns in django
Show OS error codes and messages from the os.errno module
Shrink pygtk window
Shuffle
Shuffle Merge Files
Shutdown your computer via E-mail - Python
Shutdown your PC by using ctypes (Win32 Platform)
Sierpinski Gasket
Sierpinski Square combination fractal
Sieve of Eratosthenes
Sieve of Eratosthenes
Sieve of Eratosthenes (Prime Generator)
sieve-of-eratosthenes (python)
SIGIO handler
Signal Handler Decorator
Silmultaneous linear equation solver(any order)
Simple (very) SNTP client
Simple 1KHz Audio Function Generator Using Standard Python In Linux...
Simple Abstract "Constants" to Use When @abstractproperty is Overkill or Misleading
Simple Addition Multiplication in Python
simple ado example
Simple AJAX with javascript JSON parser
Simple analogue anim and digital voltmeter with alarm DEMO...
Simple Application of htmllib for Parsing HTML
Simple Aspect weaver
Simple Audio Capture For Windows...
Simple audio with ctypes and SDL also for Tkinter
Simple Average Calculation
Simple Back-propagation Neural Network in Python source code
Simple BBCode Support
Simple BER decoding in python
Simple breadth-first, depth-first tree traversal
Simple but Complex Calculator
Simple but Powerful Grouped Constants -- A Step Toward NamedConstants
Simple Buttonbar Utility Version 1
Simple Cached Functions
Simple caching decorator
Simple calls to Python functions from command line or shortcut
Simple Cellular Automata
Simple Cipher
Simple Class
Simple Cli Progress Bar
Simple Collection class
Simple command submitter for Win32
Simple command-line alarm clock in Python
Simple conversion of excel files into CSV and YAML
simple crawler using twisted
Simple creation, configuration and installation of logging handlers
Simple creation, configuration and installation of logging handlers
Simple curses based MySQL 'top'
Simple decorator with arguments
Simple Decorators Decleration
Simple derivative solver in python
Simple digit grouping
Simple Dijkstra Algorithm
Simple directory list command with filename wildcard support
Simple directory tree view generator
Simple drawing tool with Python turtle graphics
Simple enum mechanism
Simple event dispatcher
Simple example of embeding plots in wx and running them interactively
simple example to show off itertools.tee
Simple exception logging
Simple FIFO trading model for pnl
Simple File Splitter/Combiner module
Simple file ziping utility
Simple file-based mutex for very basic IPC
Simple Finite State Machine class
Simple Finite State Machine class - v2
Simple FTP directory synch
Simple FTP Mirror
Simple function base Genetic Algorithm
Simple Function Overloading with Decorator
simple generator for flattening nested containers
Simple graph algorithms with a modular design
Simple graph for python
Simple Graph library
Simple HTTP processor for urllib2, or ClientCookie to track HTTP request and responses similar to the Firefox extension LiveHTTPHeaders
Simple HTTP server based on asyncore/asynchat
Simple HTTP server supporting SSL secure communications
Simple Infix Expression Evaluation
Simple invocation of shell commands
Simple JSP Custom Tag in Jython
Simple Knowlegde Database
simple ldap with python
Simple LF Audio Oscilloscope Using Standard Python.
Simple LF Audio Oscilloscope Using Standard Text Mode Python.
Simple linear regression
Simple Linear Regression with Pure Python
Simple local cache and cache decorator
Simple Lock Classes Based on threading.Lock()
Simple lock-queue via Memcached
Simple lockfile to detect previous instances of app
Simple maps and lists from XML
Simple Matlab/Ocave like arrays conversion to numpy.arrays in python interpreter
Simple md5 sum utility
Simple Method to Compute Pi in Python
Simple model to predict UK Interest Rates
Simple Morse Code Generator And Tutor.
Simple Morse Code Practice Oscillator.
Simple Morse Code Translator in Python
Simple multicolumn listbox for tkinter
Simple MultiThreaded Timer Job Controller
simple mx.ODBC example
Simple numeric database
Simple numeric database
Simple object distribution
Simple Password Generator
Simple pattern-based string generator
Simple PDF Bookmark / Table of Contents Maintenance
Simple Permutations
Simple polynomial class
Simple Prime Number Generator in Python
Simple primes generator
simple pygtk Calculator
Simple PyObjC Example
Simple Python Checker
Simple Python Password Generator
Simple Python Point KD Tree (No scipy/numpy needed)
Simple Python Script to Ask & Validate Password
Simple python thread manager
Simple python thread manager
Simple read only attributes with meta-class programming
simple readlines in reverse w/deque
Simple record (a.k.a. struct) type
simple recurse class
Simple recursive function to non-recursive function
Simple regex engine, elementary Python
Simple Regular Expression Tester
Simple reverse converter of unicode code points string
simple samefile() for windows (local drive case only)
Simple scanf-implementation
Simple Script to Ask the User for a Password x Times
Simple shelve with Linux file locking
Simple signal library, similar to PyQT signals
Simple Singleton
Simple Small Tweakable Encryption Solution -- SimpleCrypt
simple state machine implementation
Simple stoppable server using socket timeout
simple string checksum
Simple Substitution Cipher Algorithm
Simple Sudoku
Simple tabulator
Simple telnet session scripting
Simple tests using Exceptions
Simple Text Mode Digital Oscilloscope Graphics DEMO.
Simple Threaded XML-RPC Server
Simple threading decorator
Simple Tkinter strip chart (Python 3)
simple TLV parser
Simple tool for simulating classes using closures and nested scopes
Simple UDP Multicast Client / Server using twisted
Simple Unit Testing - microtest.py
Simple Universally Unique ID (UUID or GUID)
Simple Validation decorator
Simple Version Control
Simple video with ctypes and Xvid (Tkinter,pygame,...)
Simple way to execute multiple process in parallel
Simple way to find number of perfect square numbers in a range.
Simple Web Crawler
Simple Web Crawler
Simple web request benchmark
Simple Web socket client implementation using Tornado framework.
Simple White Noise Generator Using Standard Python In Linux.
Simple Wrapper for string.translate
Simple XML RPC server over HTTPS
Simple XML serlializer/de-serializer using Python dictionaries and marshalling
Simple XOR keyword Encryption
simple, cooperative multitasking using generators
Simple, if naive, class factory recipe in python
simplecom1: simple access to the PC Com1 port
SimpleCryptSocketExt - SimpleCrypt Wrapper for Easy Socket, Client / Server Encryption
Simpler item retrieval using tupled subscripting
Simplest example of serving a browser request
Simplest Registry I/O
simplest useful (I hope!) thread pool example
simplest useful HTTPS with basic proxy authentication
SimpleTron3x.py "Game" To DEMO XY Drawing Using The Keyboard In Standard Text Mode Python.
SimpleWrapper
SimpleXMLRPCServer niceties
Simpliest XML generator
Simplified attribute accessors using overloading
Simplified Interface Framework for Python
Simplified LRU Cache
Simplified Mutable Instances
Simplified string substitution
Simplified, highly optimized LRU Cache
Simplify Assignment to Member Variables
Simplify printing using the string template feature added in 2.4
simplify webpage
Simulate C's switch statement
Simulate number of flushes in a poker hand
Simulating an unless (reverse if) statement in Python
Simulating concurrency with yield
Simulating the ternary operator in Python
Simultaneous paned grids
Simultaneous panels (Tkinter). Moving several panels at the same time in panedwindow widgets.
Simultaneous topdown and bottomup variant of os.walk() (alt. title: "Delete .pyc files and empty directories recursively")
sin, cos, tan for Decimal
Single parameters style for DB API modules
Single-pass Multiple Replace
Singleton (parameter based)
Singleton as a metaclass
Singleton Base Class
Singleton(subclass) with once initialization
Singleton? We don't need no stinkin' singleton: the Borg design pattern
Singleton? We don't need no stinkin' singleton: the Borg design pattern
SingleUpload.py
Size of Python objects (revised).
Size of Python objects.
Sized Dictionary
skeletal compiler.visitor.ASTVisitor
skeletal compiler.visitor.ASTVisitor generator
Skeleton for well behaved unix command line tools
Skeleton script Hello World
Skype chat to speech
sleep_min: Sleep for a minimum number of seconds
Sleepsort
SleepSort (Timer version)
Sleepsort with processes and pipes
Slice equivalent for iterators.
Sliding Block Puzzle Solver
Slightly Diffrent Morse Code Translator
Slither
slugify: make a string usable in a URL or filename
slurp.py (Regex based simple parsing engine)
small stack language
smart copy
Smart pluralisation (English)
Smarter Default Arguments
SMAWK totally monotone matrix searching algorithm
SMS_Encryption
SMTP Mailsink
Snake the game
Snowflake Simulation Using Reiter Cellular Automata
Socket Broadcast Help
socket.recv -- three ways to turn it into recvall
socket.sendfile()
Solve simultaneous linear equations in two variables
Solving the Black-Scholes PDE with laplace inversion:Revised
SOLVING THE METACLASS CONFLICT
Some missing string functions
Some prime generation algorithms.
Some python style switches
Some python style switches
Sort a file
Sort a string using numeric order
Sort extremely large and/or binary files in Python
Sort images from different sources by picture taken date (Exif)
Sort names and separate by last name initial
Sort objects using SQL ORDER BY SYNTAX
Sort sections and keys in .ini file
Sort strings containing german umlauts in correct order
sort via attributes
Sortable megawidget in tkinter (like the sortable widget in jquery UI) or draggable list
Sorted dictionary
SortedCollection
sorting -- old to new python 2.4 style (heapq,bisect,list.sort keywords,itemgetter)
Sorting a dict's items and keys
Sorting a list of dictionary based on a key value
Sorting big files the Python 2.4 way
Sorting big files the Python 2.6 way
Sorting dictionaries by value in Python 2.4
sorting part2 -- some performance considerations
Sorting with deep comparisons.
Sound Generator Using WAV file
Sound in the STL
soundex algorithm
Space Assault
Space Balls
Spam Check
sparse: A dictionary based sparse matrix class
Spawned Generators
Spawning an editor from a script.
Special Range Function for Different Kinds of Ranges (int, float, character)
Speech recognition and voice synthesis in Python for Windows
Speech recognition in Windows using the MS Speech API
Speeding up computations using a lookup table part I
spell checking
Sphere
Spherical Polar Coordinates
SPICE
Spin Cursor
Spiral IFS Fractals
Splash Screen GTK
Splicing of lists
Spline demonstrator
Split a list into roughly equal-sized pieces
Split a sequence or generator using a predicate
Split a string on capitalized / uppercase char using Python
Split file in place into two parts
Split into roughly equal sized columns
Split Step
Split String into n-size pieces
Split string on capitalized/uppercase char
Split Strings w/ Multiple Separators
Split Up Text File by Line Count
split_and_join.py
Splitting iterators
Splitting up a sequence
SPOJ backup script
Spoken Word to Number
spots (V1)
spots (V2)
Spread sheet style column enumeration letter to number
Spreadsheet
Spring-Mass System Simulation
SQL Column width from delimited text
sql+ the SQL*Plus killer
SQL-like ORDER BY function for lists
SQL-like set operations with list comprehension one-liners.
sqlite message bus
sshfs mount tool
SSL Client Authentication over HTTPS
Stable deep sorting by dotted[indexed] attributes method.
Stack Environment
Stack-based indentation of formatted logging
Stacked frame for Tkinter
Stacked graphs using matplotlib
Standard Error Redirector
StandOut - Flexible Output Object
Star Mapper
start and end date given the year and week
start date and end date of given week
Starting several context managers concurrently
Startup.py
State Capitals Quiz
State FIPS Codes Dict
State Machine for Text Processing
State Machine Framework (AI)
State tree
Stateful Objects use Mix-ins to define behaviour
States to Regions
Static or Class Methods
status_demo.py
StatusMeter widget for Tkinter
Stepping stone algorithum for solving the transhipment problem
Sticky window
STL Writer
stock market check v2
stock prices historical data bulk download from internet
Stoppable HTTP server
Stopwatch in Tkinter
Stopwatch with laps in Tkinter
Storage for store information about prefixes
Storing a Single Username and Encrypted Password to a File
Storing binary data in SQLite
string Formatter that renders None values as empty strings
String Interpolation with Evaluation of Embedded Expressions
String Matching using a Finit State Machine
string multi-partitioning
String representation of a dict (sorted by key)
String substitution shorty.
String templates with adaptive indenting
String to Binary
String-like partition and rpartition functions for lists
StringValidator
Strip attachments from an email message
Strip tags and Javascript from HTML page, leaving only safe tags
Strip whitespace from a list of strings
Stripchart Plotter
Strips XML/HTML Tags from string
Strongly connected components of a directed graph.
strsignal
stupid trick: mimicking the python cgi library's FieldStorage() object for command line debuging
subclass defaultdict to tell default_factory which key is missing
Subclass function
Sublists
Submit multiple concurrent batch jobs, with flexible throttling and timing.
Subprocess As Another User
Subprocess with async I/O pipes class
subprocess.terminate() not always implemented
subscriptable generator
Subset of a dictionary
Substitute Decimals for floats in expressions
subtract or add a month to a datetime.date or datetime.datetime
Subversion Directory Removal
Sudoku Game Generator
Sudoku Solver
Sudoku solver
Sudoku Solver
Sudoku solver in functional-programming style
Sudoku Solver using a 3D-metaphor
Sudoku solver/creator
Summarizing XHTML
Summary reports using itertools.groupby
Summary reports using itertools.groupby - extended to support multiple keys
Super lazy load object
Super Shorcuts for Windows
Super Simple Sudoku Solver in Python source code
super tuples
SuperFly: Separating class heirarchy from class definition.
SuperGlobal, access global values from every module
SuperHelix
SuperText - Scrollable text with pop-up menu and themes for Tkinter
Support and warranty information using WMI
Swap one file extension for another throughout a folder tree
Swapping two variables without using a third (temporary) variable
Swapping values without using a temporary variable
switch replacement method for long if-else blocks
Switch-like statement construction..
Symmetric data obfuscation using xor
Sync the system clock to the naval time server
Sync your facebook friends list to your address book on Mac/iPhone/iPad
SyncFiles
Synchronization classes using decorators
Synchronization Decorator for Class Methods
Synchronized Chaos using Lorenz Attractor
Synchronizing all methods in an object
Synchronizing two lists
Synchronizing worker threads using a common input source
Syntactic sugar to create XHTML hierarchies with ElementTree
Syntax-highlighted code blocks for docutils
System Authentication against /etc/shadow or /etc/passwd
System Password
SystemMutex

Clone this wiki locally