Call for suggestions: Declaring data entry forms using Python classes
Andrew Dalke
adalke at mindspring.com
Thu Sep 23 16:25:46 EDT 2004
More information about the Python-list mailing list
Thu Sep 23 16:25:46 EDT 2004
- Previous message (by thread): Check for keystroke <--Nevermind
- Next message (by thread): Call for suggestions: Declaring data entry forms using Python classes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Carlos Ribeiro wrote: > # decorates getmyposition to hide the internal static var > getmyposition = getmyposition().next Codewise this is probably cleaner import itertools getmyposition = itertools.count().next More than that requires I know how to use metaclasses. :) If it works like I think it does then it's pretty neat. Andrew dalke at dalkescientific.com
- Previous message (by thread): Check for keystroke <--Nevermind
- Next message (by thread): Call for suggestions: Declaring data entry forms using Python classes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list