Orange -- data mining and GUI toolkit - 0 views
(An unofficial) Python Tutorial Zone - 0 views
Python Idioms and Efficiency Suggestions - 0 views
-
What idioms should I use to make my code easier to read? Read "The Python Cookbook", especially the first few chapters. It's a great source of well-written Python code examples.
-
Use function factories to create utility functions. Often, especially if you're using map and filter a lot, you need utility functions that convert other functions or methods to taking a single parameter. In particular, you often want to bind some data to the function once, and then apply it repeatedly to different objects. In the above example, we needed a function that multiplied a particular field of an object by 3, but what we really want is a factory that's able to return for any field name and amount a multiplier function in that family:
-
Use zip and dict to map fields to names. zip turns a pair of sequences into a list of tuples containing the first, second, etc. values from each sequence. For example, zip('abc', [1,2,3]) == [('a',1),('b',2),('c',3)]. You can use this to save a lot of typing when you have fields in a known order that you want to map to names:
SciPy Course Outline - 0 views
How to Write a Spelling Corrector - 0 views
Charming Python, a column by David Mertz - 0 views
Python Cookbook : Read tabular data from Excel spreadsheets the fast and easy way - 0 views
-
Sometimes you get an Excel spreadsheet (say, from the marketing departement) and you want to read tabular data from it (i.e. a line with column headers and lines of data). There are many ways to do this (including ODBC + mxODBC), but the easiest way I've found is this one : provide a file name and a sheet name, and read the data !
Boa Constructor home - 0 views
FrontPage - py2exe.org - 0 views
pygoogle - 1 views
Project SIKULI - 0 views
-
Sikuli is a visual technology to search and automate graphical user interfaces (GUI) using images (screenshots). The first release of Sikuli contains Sikuli Script, a visual scripting API for Jython, and Sikuli IDE, an integrated development environment for writing visual scripts with screenshots easily.
PLEAC-Python - 0 views
-
Following the Perl Cookbook (by Tom Christiansen and Nathan Torkington, published by O'Reilly) spirit, the PLEAC Project aims to gather fans of programming, in order to implement the solutions in other programming languages. In this document, you'll find an implementation of the Solutions of the Perl Cookbook in the Python language.
Guide to Python introspection - 0 views
« First
‹ Previous
161 - 180 of 213
Next ›
Last »
Showing 20▼ items per page