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
Social Media Script 1.0
ByteScout PDF Renderer SDK 9.0.0.3079
Magento Mobile App Builder 2.0.0
Binary MLM Plan 1.0.2
Review Assistant 4.0
SSIS Data Flow Components 1.8
Maulik Shah 1.0
GetOrgChart 2.4.91
ODBC Driver for SQL Azure 2.4
EntityDAC 2.0
CarMax Clone Script 1.0
Mega Menu Magento 2 2.0
Luxand FaceSDK 6.5.1
Data Puppy Lite (64-bit) 1.0
Bytescout BarCode Reader SDK 10.1.0.1778
Top Code
Graphical Sorting Program Script 1.1
Visual Python IDE 1.0
Stani's Python Editor 1.0
Top Rated
Output Messenger 1.8.0
Aliexpress Clone- Ec21 Script 1
Indiegogo Clone 3.0
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
Travel Portal Script 9.29
Magento Product Designer 1.0
OFOS - Just Eat Clone Script 1.0
PrestaShop Upload Images Module 1.2.1
Trading Software 1.2.4
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
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: 90
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: 90



More Similar Code

Search Query Generator for MySQL Database is a very simple class that can be used to build a SQL WHERE clause for performing a query that search for given field values.

Search Query Generator for MySQL Database takes as parameter an associative array with the field names as indexes and the field search parameter values as array entry values.

Search Query Generator for MySQL Database generates an SQL SELECT query to...



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.



Forms generator for MYSQL can be used to generate forms to edit MySQL database table records. It can list table record contents and generate forms to edit an existing record or insert a new record.

The output of the forms is rendered...



LIME Parser generator for PHP, complete LALR(1) parser generator and engine (like BISON or YACC) but it's all done in PHP, and the input grammar is easier and more maintainable.

Write your actions in PHP. Generate PHP output code. Drive...



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...

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

Please enter text on the image