Skip to main content

Home/ Python Programming/ Group items tagged ##programming

Rss Feed Group items tagged

reckoner reckoner

SourceForge.net: Leo: a programmer's editor & more - 0 views

  •  
    pure Python editor integrated with iPython.
reckoner reckoner

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:
  •  
    suggestions for better programming style.
reckoner reckoner

Charming Python, a column by David Mertz - 0 views

  •  
    charming python archive
reckoner reckoner

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 !
reckoner reckoner

Bruce Eckel's MindView, Inc: Thinking in Python - 0 views

  •  
    draft version is downloadable
jdr santos

Boa Constructor home - 0 views

  •  
    Boa Constructor is a cross platform Python IDE and wxPython GUI Builder. It offers visual frame creation and manipulation, an object inspector, many views on the source like object browsers, inheritance hierarchies, doc string generated html documentation
gialloporpora

Coming At You Like A Pydermonkey at Toolness - 1 views

  •  
    Since learning JavaScript over a year ago, it's become one of my favorite dynamic programming languages alongside Python. And as I've mentioned before, I think the two languages actually complement each other pretty well.
Chris 089

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.
jdr santos

Riverbank | Software | PyQt | What is PyQt? - 2 views

  •  
    "PyQt brings together the Qt C++ cross-platform application framework and the cross-platform interpreted language Python. "
jgomezdans

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.
« First ‹ Previous 161 - 180 of 213 Next › Last »
Showing 20 items per page