Search
New Code
AnyMap JS Maps 8.0.0
FlowHeater 4.1.0
Luxand FaceSDK 6.3.1
dbForge Data Compare for PostgreSQL 3.0
C# PDF 4.4.2
Bytescout PDF Viewer SDK 8.6.0.2911
AppJetty Advance Product Designer For Magento 1.0.1
Free UWP PDF Viewer SDK 1.0
FUNDRAISER Crowdfunding Script 1.0
Bytescout BarCode Generator SDK 4.61.0.952
Jango Clone Script 1.0
GetOrgChart 2.4.0
iTech Car Sell Script 2.03
ByteScout PDF Renderer SDK 8.6.0.2911
Install Package IronOcr 4.1.1
Top Code
Jango Clone Script 1.0
Get Random Record Based on Weight 1.0.0
Magento Product Designer 1.0
OFOS - Just Eat Clone Script 1.0
PrestaShop Upload Images Module 1.2.1
Trading Software 1.2.4
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Sine Wave Using JavaFX 1.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Readymade MLM Software 2.02
Code Listing by S W

Code 1-10 of 19   Pages: Go to  1  2  Next >>  page  






Sometimes it is useful to be able to see fetch all keys in a dictionary which have a common value. The LookupDict class can do this.

Other times, when a 1 to 1 mapping of keys and values, and values to keys is needed, the ReverseDict class could be used.



This recipe uses NanoThreads. http://lgt.berlios.de/

It shows how simulated concurrency, (using generators as tasks), can be transparently combined with OS Level Python threads, as and when needed.



Packing images of different sizes into one image is often required in order to efficiently use hardware accelerated texture mapping functions of 3D video cards.



This fun little recipe uses Python 2.4 decorators to force function arguments to be of a specified type. If a type mismatch occurs, a TypeError is raised.

It fun, cheap, and dirty. And probably nasty.



I use this iterator when I need to iterate over an image, working on regions or subsets of the image at a time. It returns regions from a 2D range, left to right, top to bottom.



This is a strange one. Strange, and interesting. This class creates an object which returns a logarithmic progression of numbers over a period of time. It allows the target value to change, causing the progression of values to speed up, slow down,...



This useless hack allows normal functions to be attached to a 'ThunkSpace' which causes the function to be lazily evaluated when the thunk is referenced. It is just a experiment using closures and descriptors to try and change python function call...



A queue data structure, for string data only, which looks like a File object. This class takes care of the list.append and "".join mess, which is needed for fast string concatenation.



Storing modules in a central location, which are used by remote, seperate clients has obvious benefits. This recipe describes a method by which modules can be fetched from a remote server and compiled into bytecode modules which are used by the...



I often return result sets from a database call using a list of dictionary objects. When transmitting the pickled list object over the wire, the size of the pickle greatly effects the speed of the transmission.

I wrote this small class...