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
Advertisement
This recipe will let you embed GIF images inside of your source code for use in Tkinter buttons, labels, etc. It's really handy for making toolbars, etc. without worrying about having the right icon files installed.
The...
Add-in Express is a tool for creating COM add-ins on Delphi. You develop a single add-in that will run across Excel, Word, PowerPoint, Outlook, Access, FrontPage, MS Project, MapPoint and Visio. Add-in Express hides complexity of implementing all...
Office Add-in Express is a tool for creating Microsoft Office COM add-ins.Using it you can develop a single component that will run across the entire Office suite of applications - Excel, Word, PowerPoint, Outlook, Access, Project.Office Add-in...
ADX Toys 2 WD is a COM add-in for Microsoft Word that adds the syntax highlighting of the selected source code in the current document.The add-in is based on Add-in Express 2 technology and designed to show you how to create add-ins, how to manage...
dbForge Fusion for MySQL (formerly known as MyDeveloper Tools) is a powerful add-in designed to simplify the MySQL database application development process. It integrates into Delphi, making all database development and administration tasks...
This web based tutorial is much helpful for the web developers. This tutorial shows you how to create the dropdown listbox control in the HTML pages. You can get the sample code for creating the dropdownlist control from this tutorial.
Customizing Tables in ASP.NET is a tutorial which gives you the sample code for customizing the table in ASP.NET. In this tutorial the author perfoms it using three methods such as by adding combo box control as the table cell, adding ccheckbox...
FrontPage Add-in is a powerful hosted web page add-ins and it is useful for the web owners which helps them to add their web pages with enhanced graphics. It adds multiple forms of xara modules to the website quickly. It makes user site more...
How to Create a Conditional Edit Button in a DataGrid is a tutorial which helps you to build customizable edit buttons on each row of the datagrid control. In this article the author gives a sample code for creating the edit buttons and for making...
In this tutorial the author gives you the sample code for building a owner drawn listbox control in C#. This control helps you to display the images, font, colors etc., for the text of each item in the list. In the sample program the author...
Selecting an Item in a DataList using C# is a web based tutorial which gives you the sample code for adding a datalist control on the aspx page, establishing the database connection using the ADO.NET connection object, binding the database data to...
This article is basically for the .NET learners which instructs the users step by step about event wire-ups in ASP.NET and VS.NET. This article guides the learners to wire-up the structures of ASP.NET and VS with simple examples. Sample code for...
An add-in to the Windows context menu. Upon installation, when you right-click one or more files containg a version number an additional menu item is shown containing the version number(s) for quick reference. Can be handy if you need to compare...
C# DataGrid with DataSet is a tutorial in which the author gives you the sample code for inserting and updating the data in the datagrid control. This tutorial creates the dataset object and passes the datasource values to the dataset object and...
This ASP tutorial guides you in downloading the images with the help of ADO stream object. You can download all types of images using this ADO stream object. This tutorial gives the sample code for the users. You can copy and paste this sample...
This is a tutorial and a article where users can send email messages to the others through php. / The tips are given with sample code for sending the email which can also be installed in to the users websites. The php author explains the four...
This is an ASP article that discusses about the auto number. In this tutorial author specifically deals with the display of identity field value using the @@IDENTITY. This tutorial provides the sample code for the readers.
This article tells us about counter object which is created by counter component inorder to store, create, increment and retrieve any number of count in the website. Here there are few examples and sample code for executing the counter with...
How to set focus to a MS ASP.NET TreeView on form load is an easy to learn ASP.NET tutorial in which the author shows you the sample code for setting the focus to the treeview control using the document object and applying colors when the users... |