Search
New Code
GetOrgChart 2.4.0
iTech Car Sell Script 2.03
ByteScout PDF Renderer SDK 8.6.0.2911
Install Package IronOcr 4.1.1
Bandcamp Clone Script 1.0
Library Management System 1.0
Password Sharing System 1.0
dbForge Monitor 1.0
Notes Management 1.0
Gantt Control VCL 3.0
Expense Management System 1.0
SOUNDIFY iTunes Clone 1.0
Advance Airbnb Clone Script 1.0.1
Bytescout BarCode Reader SDK 9.2.0.1716
IP2Location Geolocation Database 2017
Top Code
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
Availability Booking Calendar PHP 1.0
Code Listing by Robin Parmar

Code 1-9 of 9   






Exceptions provide very handy ways of performing simple tests. For example, if you want to know if the contents of a string represent an integer, why not just try to convert it? That's what IsInt() does.



This function parses a full file specification into tuple of:
a) list of drive and folders
b) file name
c) (last) file extension (including dot)



Adds the specified path to the Python system path if it is not already there. Takes into account terminating slashes and case (on Windows).

Returns -1 if the path does not exist, 1 if it was added, and 0 if it was not (because it is...



Hexify is a hex dump utility handy for viewing binary files at the command-prompt.



Smart pluralisation function that provides more intelligence than simply adding an 's' to the end of a word.



One often needs unique ID strings to tag processes, threads, files or anything else that might be created in quantity. Traditionally these are created based on PIDs or similar system values. But it is not easy to visually recognise these strings,...



This simple function counts Lines Of Code in Python files in two ways: maximal size (source LOC) with blank lines and comments, minimal size (logical LOC) stripping same. It includes a simplified version of my directory tree walker from recipe 52664.



This function walks a directory tree starting at a specified root folder, and returns a list of all of the files (and optionally folders) that match our pattern(s).



If the specified file exists, it is versioned by appending to the extension a three-digit number, starting with "000".