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
Rentonn - Airbnb clone 1.0
VisualNEO for Windows 18.08.31.0
SentiVeillance SDK Trial 7.0.191272
dbForge SQL Complete 6.1
Uber for E-Scooters 1.0
ODBC Driver for MySQL 2.4
dbForge Schema Compare for MySQL 4.4
dbForge Studio for MySQL 8.1
dbForge Query Builder for MySQL 4.4
dbForge Data Compare for MySQL 5.5
Aqua Data Studio 19.5
ConyEdit for Windows 1.1.1
GetOrgChart 2.5.3.0
Database Workbench Pro 5.6.0
.Net VCL for Delphi 1.0.0.0
Top Code
MCU 8051 IDE 1.4.7
C/C++ GRAPHICAL LIBRARY NE 1.0
Faculty Evaluation System 1.1
HTML Color Parser 0.1
PHP Product Order Form 1.0
PHP MLM Software 2.0.1
Restaurant Table Booking System 2.0
Cuckoo Search (CS) Algorithm 1.0
jClientUpload 1.0
Online Food Ordeing System 1.0
Simulation of MUSIC (DOA ESTIMATION) - GUI 1.0
Azizi search engine script PHP 4.1.10
MLM Binary Plan Script – i-Netsolution 1.0.2
Cuckoo Optimization Algorithm 1.0
Ant Colony Optimization (ACO) 1.0
Top Rated
Paste phpSoftPro 1.4.1
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
simple generator for flattening nested containers 
File ID: 66746






simple generator for flattening nested containers 
Download simple generator for flattening nested containers http://code.activestate.com/recipes/121294-simple-generator-for-flattening-nested-containers/?in=lang-pythonReport Error Link
License: Freeware
Downloads: 91
User Rating:1 Stars  (1 rating)
Submit Rating:
simple generator for flattening nested containers  Description
Description: this generator flattens nested containers such as

<code> l=( (1,23), [[[[42,(5,23)]]]])</code>

so that

<code> for i in flatten(l): print i</code>

gives you 1,23,42,5,23

License: Freeware

Related: Shortcuts

O/S:Windows

Downloads: 91



More Similar Code

A Rails generator for adding a simple (at this point) SQL based wiki to a Rails application.



A eclipse plugin code generator for liferay with spring MVC in web layer and using spring as business layer. This is a simple tool which would reduce the redundant effort of liferay portlet XML updation, controller and preference JSP page generation.



ADL4Net is an abstract data layer generator for .Net or Mono. It is written in C# and its goal is to provide simple user interface and library for generating data access layer.



A Simple Solution for Implementing Customization to an Existing Web Site is a web based tutorial which gives detailed description about customizing your websites for the users. For example you can greet your site visitors with customized greeting,...



Appgini Php Generator For Mysql is multi-platform compatible. AppGini is a tool for rapid web database applications development. It converts your database definition into a full PHP application that connects to a MySQL database. It creates dynamic...



ASPRunner.NET - code generator for ASP.NET is a web based data base application which helps the users to generate set of ASP pages for accessing the datas from the MY SQL, oracle, MS Access, DB2 and filemaker database. It also helps in creating,...



Simple Search For Unix or NT is a search engine where users can allow site visitors to search their website. Directory searching can be done separately which makes the search operations faster. This program retrieves only text between tag. It has...



Help Generator for Microsoft Excel lets you document your Excel spreadsheet applications in a productive way. It generates topic pages with screenshots for Worksheets, Charts and VBA Forms. The Help Generator produces HTML Help, HTML Help...



An iterative equivalent to the recursive function given in the recipe "Generator for integer partitions" by David Eppstein.

Uses the representation

7 = 17 = 16 + 11 = 15 + 12 = 15 + 2*1 = ...



Jeek is a concrete class / stub / mock code generator for .NET, used in unit testing.

User Review for simple generator for flattening nested containers
- required fields
     

Please enter text on the image