metapython

For small bits of advanced Python

Wednesday, November 17, 2010

X-unzip - and peeping into it

›
Most of us already know the value of the zip function. (and xzip, in python2). Once in a while, there might be the need of "unzipping...
2 comments:
Thursday, November 11, 2010

"Selfless Python"

›
Proof of concept of Python methods using no explicit declaration of the parameter Self. I mean: class A: __metaclass__ = Selfless ...
60 comments:
Monday, November 8, 2010

Tail Recursion Elimination in Python

›
This, a while back, was maybe my first hack using introspection that I perceived as "wow, this is just fun". So, Tail Recursion ...
Saturday, November 6, 2010

Recursive Lambda Functions

›
This one I had presented at my talk at FISL in 2010: One interestign feature in some functional languages - not all - that is seemingly unav...
3 comments:
Friday, November 5, 2010

Python instance methods - How are they different from ordinary functions?

›
Python OO model works exceptionally well. Its introspection capabilities, and flexibility provided by the descriptors implementation allow f...
88 comments:

What if called functions could access the variables from the caller?

›
Of course, normally you just pass the variables you are interested the called function to access as parameters. But it raises an interesti...
2 comments:
Monday, November 1, 2010

Twitter and Tkinter: Who does not follow you

›
We are not so "meta" today, and more hands on. Given the spam avalanche today, with people trying to get me to use a webapp that...
‹
›
Home
View web version

About Me

jsbueno
View my complete profile
Powered by Blogger.