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
dotConnect for Dynamics CRM 1.7
Entity Developer 6.3
ODBC Driver for BigCommerce 1.4
dbForge Documenter for Oracle 1.0
dbForge Data Generator for Oracle 2.0
Odoo MobiCraft Theme 1.0
AnyChart JS Charts and Dashboards 8.4.0
IP2Location Geolocation Database October.2018
AnyGantt JS Gantt Charts 8.4.0
dbForge Data Compare for PostgreSQL 3.1
Paste phpSoftPro 1.4.1
Bytescout PDF SDK 1.8.1.243
Odoo Crafito Theme 1.0
Uber Clone- Taxi Booking App 4.1
Excel Add-in for BigCommerce 1.7
Top Code
PHP Point of sale 10.0
image compression using wavelet transform 1.0
Hysteresis Thresholding 1.0
Online Vacation Rental Booking Website Script 4.3.0
JadaSite e-commerce solution 2.03
Traveling Salesman Problem (TSP) using Simulated Annealing 1.0
Video Conference Website Scripts 2.86
Travel Booking script 1.0.4
Hotel Management System 6.45
Ping Pong Game Code Script 1.1
SynaSer Serial Port Library 5.0
Learning Kalman Filter Implementation in Simulink(R) 1.0
hnGuestbook 1.0.8
Elementary Cellular Automata 1.0
IDCMS Inventory 0.3
Top Rated
Output Messenger 1.8.0
Aliexpress Clone- Ec21 Script 1
Indiegogo Clone 3.0
Advanced MLM Software 1.2
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
PHP Point of sale 10.0
Travel Portal Script 9.29
Excel Add-in for Bigcommerce 1.6
Magento Product Designer 1.0
OFOS - Just Eat Clone Script 1.0
PrestaShop Upload Images Module 1.2.1
Trading Software 1.2.4
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