© Copyright 2000-2020 Source Code Online. Free Source Code and Scripts Downloads.
|Code Listing by Sunjay Varma|
Is it possible to create a simple command line program that I can use to quickly test my regular expressions?
Yes it is. This simple regular expression tester uses Python's re module as well as others to quickly allow you to test your regular expression in one go.
Add Support For Multiple Regular Expression Input
Made the output prettier with a...
This recipe is a simple solution for turning a recursive function into a non-recursive function.
This is the same concept.
Note to Python 2.4 Users: You...
While using the built-in range function a while ago. I found an odd (perhaps bug) where the range function couldn't use float steps. I am not sure if that was intended for simplicity or not, but I wrote my own range function that goes beyond that...
I think this script should now be functional enough to post here at ActiveState. When you reply or vote down, please post some information on your problem with the code, and if you can, maybe something about the solution. This interface works, and...
This is a simple template engine which allows you to replace macros within text. This engine allows for attributes and filters. The default implementation provides the entire string module as filters. Trying to use arguments will of course not...
I wanted to mess around with the overrideredirect function of the window manager, and ended up making a pretty good Python Tkinter splash screen. :)
Just run it for a demo.
There are instructions and more info in the script
This tabbed interface is very useful for Tkinter users. I am sure there is a better way to do it, but I did the best I could.
Please enjoy this tabbed interface by SunjayVarma - www.sunjay-varma.com
This module allows the user to create a more verbose set of ranges. Simple character ranges, and float ranges are supported.
Basic Integer Ranges
Float Ranges (as accurate as a float range can...
A simple, yet effective rectangle selection box. :)
Works with a tkinter canvas! Just add the class and set it up like in the example code. The cross heir was my own touch, the RectTracker only draws a box.
Have fun! And...
All files and free downloads are copyright of their respective owners. We do not provide any hacked, cracked, illegal, pirated version of scripts, codes, components downloads. All files are downloaded from the publishers website, our file servers or download mirrors. Always Virus check files downloaded from the web specially zip, rar, exe, trial, full versions etc. Download links from rapidshare, depositfiles, megaupload etc not published.