Search
New Code
dbForge Studio for PostgreSQL 2.3.212
HTMLPad 2020 16.2
WeBuilder 2020 16.2
Rapid CSS 2020 16.2
Rapid PHP 2020 16.2
C# HTML to PDF 2020.8.1
Flowrigami 1.0.0.1
Vue Injector 3.3
Spectrum Analyzer pro Live 2019
Devart Excel Add-in for HubSpot 2.1
RentALLScript - Airbnb clone 2.2
SuiteCRM Theme Customization 7.11.6
iScripts NetMenus 3.1
iScripts EasyIndex 2.2
iScripts EasySnaps 2.0
Top Code
Uber Clone with Safety Measure Addons 2.0
Answers phpSoftPro 3.12
phpEnter 5.1.
Quick Maps For Dynamics CRM 3.1
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Apphitect Airbnb Clone Script 1.0
Deals and Discounts Website Script 1.0.2
Pro MLM 1
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
Code Listing by runsun pan

Code 1-8 of 8   






Group a list of items according to the starting character(s) of items.
This is based on Raymond Hettinger's groupby class:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/259173



Python style switches. Showing several ways of making a 'switch' in python.



A collection of some dictionary tools



<code>A dict extension that has the following features:

1. dual data storages: use 'bd.x' or 'bd["x"]' for one,
and bd.getDict() for another.

2. All the followings are equivalent::

...



This recipe provides an alternative way of generating and updating dictionaries. It savs couple of keystrokes, making routine dict operations easier.



Sometimes we want to have a module initialized in different ways. This function, getimporter(), while placed inside a module X, allow you to initialize module X according to the module (properties) that is importing X.



Presented in this recipe is a function prop, with that a property myprop can be created as simple as:

@prop
def myprop(): pass


It has only 7 lines of code, easy to understand, easy to customize, will make the code...



A collection of some useful list-related functions.