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
VB.Net PDF 4.4.7
SuiteCRM Survey Rocket Plugin 1.0
Airbnb Clone Script | Airbnb Clone 4.3.1
IP2Location Geolocation Database 2018
ODBC Driver for Salesforce 1.5
Rapid PHP 2018 15.0
Bytescout BarCode Generator SDK 4.70.0.981
Data Puppy Lite (32-bit) 1.0
ProZ clone script 1.0.3
VideoCap Live Streaming SDK ActiveX 8.5
Magento Web to Print 1.0
dbForge Data Compare for MySQL 5.4
dbForge Query Builder for MySQL 4.3
ODBC Driver for NetSuite 1.2
Rapid CSS 2018 15.0
Top Code
Mann-Kendall Tau-b with Sen's Method (enhanced) 1.0
OpenCV Delphi wrapper 1.0
Fuzzy k means 1.0
ABBYY FineReader Engine 9.0
Online Food Ordeing System 1.0
Advance Auto Index-DjAmolWap 10.4
Djamolwap 13
GnuWin64 64
Advanced Forced Matrix Script 1.0
Etsy Clone Script v 2.0
BMI Calculator Widget 1.3
ECG Beat Calculation 1.0
Wasted Money Calculator
Panel Method Based 2-D Potential Flow Simulator 1.0
AdvPL Harbour Compiler 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,...



A simple free for all links script where your surfers can add their links.

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

Please enter text on the image