links · people · groups · tags | My: links · tags · groups · watchlists · notes login · sign up now! | help · blog
Simpy simpy
 
stargaming, member since Aug 13, 2006
.
Search Everyone: "idiom",

Top "idiom" experts: stargaming, justenglish, mr.duncan.forbes, cisgjm, spyromus, tonyyeung,

Groups about "idiom": Info Inform Information,

1 - 10 of 56 next »   Watch stargaming
 
In the re module there is a class called Scanner that can do lexical sanning. It is completely undocumented other than for a small example code block found on the Python-Dev mailing list, but well worth mentioning.
by stargaming 2009-02-26 00:33 python · idiom · parsing
http://www.evanfosmark.com/2009/02/sexy-lexing-with-python/ - cached - mail it - history
Perhaps some much more clever people than me can explain what a cardinal sin it is to not use the unittest methods over the lazy more pythonic ones.
by stargaming 2009-02-15 15:29 python · testing · idiom
http://www.peterbe.com/plog/to-assert-or-assertEqual - cached - mail it - history
We're doing function composition but that's not what x is doing. It's not currying, it's not thunking, it's not trampolining. Is there a word for it?
by stargaming 2008-11-02 02:31 python · idiom
http://jtauber.com/blog/2008/11/01/two_functional_questions/ - cached - mail it - history
Reading good python code must be an enjoyable learning experience, any suggestion?
by stargaming 2008-10-12 00:48 python · idiom
http://news.ycombinator.com/item?id=327710 - cached - mail it - history
This recipe presents a method for letting client code specify on one line which version of "tools" they wish to use -- and then import from the tools package as normal. Behind the scenes, the recipe is making sure that the client works with the version of the package that they requested. If the client ever wants to change versions, it's a one-line change at the top of their code.
by stargaming 2008-09-18 10:52 python · idiom
http://code.activestate.com/recipes/576508/ - cached - mail it - history
A very simple example on how to work with prototype-based programming in Python.
by stargaming 2008-09-13 11:52 python · javascript · idiom
http://loveandtheft.org/2008/09/11/prototype-based-programming-in-python/ - cached - mail it - history
When I first started coding in Python, I didn't know what I was doing. So I structured my Python programs the way I would write Bourne shell scripts or Perl programs, writing functions as necessary and useful but otherwise putting all of the logic and code in the program's file outside of functions (in what I now call 'module scope').
by stargaming 2008-09-07 08:42 python · idiom
http://utcc.utoronto.ca/~cks/space/blog/python/ImportableMain - cached - mail it - history
Django now runs on Jython which is great news. Jeff Hardy is also making progress running Django on IronPython. As usual the news sparked a plague of comments on Reddit. There seems to be a lot of confusion about the different implementation of Python, and which bits of CPython acts as the reference implementation.
by stargaming 2008-08-27 07:35 django · python · idiom
http://www.voidspace.org.uk/python/weblog/arch_d7_2008_08_09.shtml - cached - mail it - history
The "design patterns" movement in software claims to have been inspired by the works of architect Christopher Alexander. But an examination of Alexander's books reveals that he was actually talking about something much more interesting.
by stargaming 2008-08-23 05:02 programming · idiom
http://perl.plover.com/yak/design/ - cached - mail it - history
My bitching about function call syntax motivated someone to actually try to solve the problem in Python using operator overloading. It was a great first step, but I tried to make it useful enough to write code using pipe syntax.
by stargaming 2008-08-19 10:38 python · idiom
http://arvindn.livejournal.com/68137.html - cached - mail it - history
1 - 10 of 56 next »  
Related Tags
 
- exclude ~ optional + require
Add Dates