Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
.Net Runtime Library for Delphi 6.0.4.0
Scimbo 1.64
AnyMap JS Maps 8.4.2
GetOrgChart 2.5.3
AnyChart JS Charts and Dashboards 8.4.2
OrgChart JS 3.8.0
dbForge Compare Bundle for MySQL 8.1
dbForge Search for SQL Server 2.3
Database Workbench Pro 5.5.0
Luxand FaceSDK 7.0
SSIS Data Flow Components 1.10
Entity Developer Professional 6.3
dbForge Index Manager for SQL Server 1.9
dbForge Data Generator For MySQL 2.2
Magento Australia Post eParcel Extension 1.0
Top Code
Deals and Discounts Website Script 1.0.2
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
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
ATN Mall 2.0
WeBuilder 2015 13.3
PHP Digital Download Script 1.0.4
Related Code
Code For Just Dial Bars
Java Scripts Of Just Dial Sreach Cantrol
Just Dial Search Engine Clone Scripts
Create Dial Cewolf Meter
Ras Dial
Just Snow Falling
Just-Rfnet
Dial Script
Reading The Dial Up Data
Jsp For Reading Data Through Dial Up Connection
Dial Mobile Number Via Pc
Cheat Just Rf
Flex Dial
Read Ad Dial Meter
Read A Dial Meter Using Camera
Just Dial
All | Freeware

Code 61-80 of 100   Pages: Go to  << Prior  1  2  3  4  5  Next >>  page  






What if you had a list like this: [1, -10, [1,2,[3,4]], xrange(200)], and you just wanted to go through each element in order (wanted it to return a simple list of [1,-10,1,2,3,4,1,2,3,4...199])

I've seen a couple of attempts to flatten arbitrarily deep lists. Many of them involve recursion, like this one: http://rightfootin.blogspot.com/2006/09/more-on-python-flatten.html

Recursion is generally considered non-pythonic...



The single very powerful line of just the fifteen ASCII characters says it all...

Read the code for more information...

Tested on the platforms and versions inside the code...

This is entirely Public Domain and...



Just a quick recipe I developed a few years ago that I thought
might be useful to others. Basically it takes as input a
data file with comma separated values (CSV) and translates
this into a series of SQL "INSERT"...



Just import, call and log your selected call/return/exception/etc. events.
You can use a standard Python logger from the logging module.
Quite flexible tool and about 50 efective SLOC only (excluding the example script).
For...



Minimalistic Memoization in python, just works, doesn't take care of cleaning up the cache however.



Just a really quick script I threw together for someone that grabs the DHCP table data and parses it as a JSON object. The specific router this was used with was a Linksys WRT400N, although I am sure this will work on other linksys routers.



I am all about trying to make development easier and reduce mundane tasks, especially
dealing with commandline args and getopt, OptParse, argparse sorry just not a fan. Argparse-cli
is really cool if you want low level control. I just...



Just a list subclass with a fast hash based __contains__ provided by a Set. Inheriting from list was far more work than I had anticipated AND the code below is still buggy.

Still, this provides O(1) indexed access and O(1) contains. If...



Just in case anyone would need the bindings, here's a very basic implementation. For some reasons, wordze.com has very strict API usage limitations, so to use this efficiently, you'll probably need to cache every request-response.

Any...



In many cases, a subclass overrides a method in a parent class, just to change its implementation; in such cases, it would be nice to preserve the overridden method's docstring. The decorator below can be used to achieve this without explicit...



This is just a rewrite of Recipe 466302 "Sorting big files the Python 2.4 way", taking advantage of heapq.merge, context managers, and other niceties of newer Python versions. It can be used to sort very large files (millions of records)...



Just stumbled upon the need to move data chunks between subprocesses in a non-linear way with some logic in-between, so tee(1) and fifo(7)'s weren't too good option.
Inspired by 440554, but rewritten from scratch to remove unnecessary delays...



Here I just want to keep it simple. If you want to execute a function every n second, this function should be competent. However, please note that the task is actually executed in another thread.



Diff two dictionaries returning just the differences. If an item is not found, it is represented by the string "<KEYNOTFOUND>". If there is a better way, please share. :)



Just because the exemple from google didn't add the category
thanks from :
http://coolnamehere.wordpress.com/2008/01/02/adding-categories-to-the-python-blogger-client/



A context manager and decorator that wrap common exception trapping and handling code so they may be applied with just a single line of code in the client.



Most of the time I just want to either read or write one value to the registry. Here are two functions: ReadRegistryValue and WriteRegistryValue plus a few helpers.



This program can actually time anything you want,
not just eggs. Unfortunately, it only runs on Windows.



Just another hex dumper written in one of our favorite languages ...



This is just a simple example usage example of the proxy module presented here:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/502204