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
Excel Add-in for DB2 1.7
wolfSSL 4.0.0
EntityDAC Express 2.2
SecureBridge 9.1
C# HTML to PDF 2019.6.5
PHP Ecommerce Script 3.6
Devart SSIS Data Flow Components 1.11
dbForge Data Compare for PostgreSQL 3.2.15
OrgChart JS 4.9.7
iScripts CyberMatch 1.3.3
AnyGantt JS Gantt Charts 8.7.0
Database Workbench Pro 5.6.8
SentiMask SDK Trial 2.0.193121
dbForge Studio for SQL Server 5.8
ODBC Driver for ASE 2.1.2
Top Code
iScripts CyberMatch 1.3
SecureBridge 8.0
dbForge Data Compare for PostgreSQL 2.0
dbForge Studio for SQL Server 5.5
Database Workbench Pro 5.6.8
PHP Ecommerce Script 1.0.4
Availability Booking Calendar PHP 1.0
ATN Site Builder 3.0
ATN Resume Finder 2.0
Excel Add-in for DB2 1.1
PHP Review Script 1.0
ICPennyBid Penny Auction Script 4.0
EntityDAC Express 2.2
MLM Software ONE 1.5.46
Scholarship Award System 1.2.71b
Top Rated
VisualNEO Web 2018.12.15
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
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
Invoice Manager by PHPJabbers 3.0
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
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