Search
New Code
AnyGantt JS Gantt Charts 8.0.0
Hex Comparison 5.12
SecureBridge 8.1
Hotelline PMS 1.0
TeeBI for RAD Studio Suite 2017
AnyStock Stock and Financial JS Charts 8.0.0
Entrepreneur News Portal 1.0.2
Advanced MLM Software 1.2
JavaScript Pop-up Box - free scripts 1.0
wolfSSL 3.12.0
Bytescout PDF SDK 1.6.0.207
Fundraiser by NCrypted Websites 1.0
Bytescout PDF To HTML SDK 8.6.0.2911
iTech StockPhoto Script 2.03
AnyMap JS Maps 8.0.0
Top Code
Jango Clone Script 1.0
Get Random Record Based on Weight 1.0.0
Travel Portal Script 9.29
Magento Product Designer 1.0
OFOS - Just Eat Clone Script 1.0
PrestaShop Upload Images Module 1.2.1
Trading Software 1.2.4
ADO.NET Provider for ExactTarget 1.0
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
Code Listing by Stephan Diehl

Code 1-5 of 5   






This lets treat you a python sets.Set as a scalar (number,string,...)
The german linux magazine featured an article about the PERL module
"Quantum::Superpositions": http://www.linux-magazin.de/Artikel/ausgabe/2003/12/perl/perl.html
This sounded like fun and I implemented it in Python (probably not everything).
Perl code lines: over 700
Python code lines: 100



I came up with this when I tried to implement some autocompletion feature.
The problem is to find a common substring (beginning from the start) for all strings in a given list.

I couldn't find an existing recipe that is doing this...



This recipe is a rewrite of a portion of http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/157768 .
It shows an easy way to write read-only attributes with the help of meta classes.



A metaclass is used to wrap all (or just some) methods for logging purposes. The underlying mechanism can be used as well to check pre/post conditions, attribute access,...
The basic point is, that the actual class must not be changed in any...



Mutating list methods such as 'append' or 'extend' return None instead of the (mutated) list itself. Sometimes, this is not the desired behaviour.
The <a...