Search
New Code
Softros LAN messenger 9.2
GetOrgChart 2.5.2
Alvas.Audio 2018.0
Bytescout PDF Viewer SDK 9.0.0.3079
SecureBridge 8.2
Magento Language Translator 1.0
Australia Post Shipping For Magento 1.0
Excel Add-in for SQL Server 1.7
ODBC Driver for BigCommerce 1.3
Excel Add-in for SQLite 1.7
SentiVeillance SDK Trial 6.0.183849
dotConnect for Dynamics CRM 1.7
Entity Developer 6.3
dbForge Documenter for Oracle 1.0
dbForge Data Generator for Oracle 2.0
Top Code
Output Messenger 1.8.0
Aliexpress Clone- Ec21 Script 1
Indiegogo Clone 3.0
Advanced MLM Software 1.2
Online Food Ordeing System 1.0
PHP Image Resize Script 1.0
Best Spotify Clone 1.0
Get Random Record Based on Weight 1.0.0
PHP Point of sale 10.0
Travel Portal Script 9.29
Excel Add-in for Bigcommerce 1.6
Magento Product Designer 1.0
OFOS - Just Eat Clone Script 1.0
PrestaShop Upload Images Module 1.2.1
Trading Software 1.2.4
Code Listing by Wai Yip Tung

Code 1-9 of 9   






This function find the percentile of a list of values. Note that the list must be sorted already.



Iteration is a fundamental Python idiom. It is simple and effective.

for n in iterable:
# do something with n

But there are also cases when you might want to look ahead one item during iteration. For example, with a...



Python's built in function str() and unicode() return a string representation of the object in byte string and unicode string respectively. This enhanced version of str() and unicode() can be used as handy functions to convert between byte string...



Many programs need a set of initial data. For ease of use and flexibility, design a mini-language for your input data. Use Python's superb text handling capability to parse and build the data structure from the input text.



map() applies a function to a list of data sequentially. This is a variation to map that execute each function call concurrently in a thread.



This script update the stock quote on your spreadsheet by fetching the latest quote from Yahoo!Finance web services. It uses the pywin32 library to update the cells on an Excel spreadsheet.



You have some string input with some specical characters escaped using syntax rules resemble Python's. For example the 2 characters '\n' stands for the control character LF. You need to decode these control characters efficiently. Use Python's...



You are processing unicode strings. You want to print the string but run into UnicodeEncodeError all the time. This recipe show you some simple steps to visualize unicode strings.



In Python, classes can define their own behavior with respect to language operators. For example, if a class defines __getitem__(), then x[i], where x is an instance of the clas, will be execute by a call to x.__getitem__(i).

While...