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
Online Vacation Rental Booking Website Script 4.3.0
Travel Booking script 1.0.4
Ticket Booking System 1.0
JadaSite e-commerce solution 2.03
Traveling Salesman Problem (TSP) using Simulated Annealing 1.0
TIC TAC TOE AI GAME Script 1.1
PHP Point of sale 10.0
image compression using wavelet transform 1.0
Hysteresis Thresholding 1.0
Ping Pong Game Code Script 1.1
IDCMS Inventory 0.3
Java Source Object Model 1.0
Sports Club Management 6.x-1.x-dev
Aspose.Words for Java 13.3.0.0
PHP MLM Software 2.0.1
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
Lazy Lists for python  2.5
File ID: 65274






Lazy Lists for python  2.5
Download Lazy Lists for python 2.5http://code.activestate.com/recipes/576429-lazy-lists-for-python-25/?in=lang-pythonReport Error Link
License: Freeware
Downloads: 10
User Rating:3 Stars  (1 rating)
Submit Rating:
Lazy Lists for python  2.5 Description
Description: Dan Spitz submitted a recipe ( 576410 ) for recursively defined lazy lists backed by a generator. Only catch was that it was written for python 3k. But there is nothing intrinsic in 3k that prevents you from having the same functionality in python 2.5, so I am supplying the backport here.

License: Freeware

Related: Generators, lazy, memoization

O/S:Windows

Downloads: 10



More Similar Code

Use reflection to generate lists of Python symbols. Use them to build a syntax coloring file for your preferred programmer's editor.

This is easier and less error-prone than updating your syntax file by reading "What's New In Version x" and other documentation.



This is a fork of recipe #577024 which describes an enum type for Python using __slots__ and read-only variables. Apart from the enum with default positional argument values, this one adds another enum type using keyword arguments.



UniCurses is a wrapper for Python 2.x/3.x that provides a unified set of Curses functions on all platforms (MS Windows, Linux, and Mac OS X) with syntax close to that of the original NCurses. To provide functionality on MS Windows it wraps PDCurses.



Functional Programming for Python. Provides a small mixin to provide 1) type constraints for named tuples 2) pre/postcondition typechecking for functions 3) syntactical sugar to make your code look pretty (accomplished through a PEP 302 import hook)



A collection of extensions for Python's IDLE, the Python IDE built with the tkinter GUI toolkit.



``Modeling'': an Object-Relational Bridge for python.

Please note: this project is not maintained anymore.

Make your objects persistent in a RDBMS, just by designing how your classes map to an RDBMS schema, without...



A TextMap module for Python.The TextMap class can be used to emulate oldfashioned computer screens. It will have methods like writexy(x,y,text),input = readxy(x,y,text), clear(), scroll(x,y),change(coloroptions), settext(text), input = gettext()



The X-Extensions for Python are a set of extension modules written in C and Python which provide access to variousstandard X libraries to Python programs. The X libraries that are thus made accessible include Xt, Xaw, Xm and more.



PyKCS11: a complete PKCS#11 wrapper for Python, created using the SWIG compiler.


User Review for Lazy Lists for python
- required fields
     

Please enter text on the image