Links for 2007-05-06 [del.icio.us] Posted: 07 May 2007 12:00 AM CDT - Python: Lambda Functions
Python supports creation of anonymous functions at runtime, using construct called "lambda". This is not exactly same as lambda in functional programming languages, but it is very powerful concept that's well integrated into Python and is often used in co - Darjeeling tea will now be called just Darjeeling, just like Champagne (wine produced in Champagne district)
Darjeeling tea will now be called just Darjeeling, just like Champagne (wine produced in Champagne district), Bordeaux (wine produced in Bordeaux region), Tequila (spirit made in Tequila, Mexico) or Cognac (brandy produced in Cognac) - Dr. Dobb's | AJAX: Selecting the Framework that Fits | May 1, 2007
Dobb's Journal reviews 5 AJAX frameworks: Dojo, Prototype, Scriptaculous, Direct Web Reporting, Yahoo! User Interface Library, and Google Web Toolkit. 'Dojo provides more features and HTML widgets than YUI and Prototype' but eventually 'settled on the Yah - Python main() functions
some suggestions on how to write a main() function that's easy to invoke in other contexts, e.g. from the interactive Python prompt when you feel like experimenting. - Introduction to Python: File I/O
- File Management in Python
Python makes file management surprisingly easy, especially when compared to other languages. Peyton McCullough explains the basics |
Links for 2007-05-05 [del.icio.us] Posted: 06 May 2007 12:00 AM CDT - SQLObject
popular Object Relational Manager for providing an object interface to your database, with tables as classes, rows as instances, and columns as attributes. SQLObject includes a Python-object-based query language that makes SQL more abstract, and provides - path Python module
provides a single class that wraps the functionality in the os.path module. You wouldn't think that would be so helpful, but in practice I find it much more pleasant to write and to read. - mxDateTime - Date/time types for Python
These types were created to provide a consistent way of transferring date and time data between Python and databases. Apart from handling date before the Unix epoch (1.1.1970) they also correctly work with dates beyond the Unix time limit and thus is Year - Python re Module - Use Regular Expressions with Python - Regex Support
Python's built-in "re" module provides excellent support for regular expressions, with a modern and complete regex flavor,. The only feature currently missing from Python's regex syntax are atomic grouping and possessive quantifiers. - pydoc.org: Python Documentation Online
Use this site as a handy central index of the documentation for all versions of Python from 1.5 to 2.4. You can also search all the docstrings in the standard library. |
No comments:
Post a Comment