Re: python version in snow leopard?

2009-06-09 Thread Alia K
Mark Dickinson wrote: > The python-dev thread starting at > > http://mail.python.org/pipermail/python-3000/2008-September/014816.html > > suggests that back in September 2008, there was a 'MajorOS Vendor > (tm)' > who was interested in getting Python 2.6 into their next OS release, > provided that

Re: Dynamically fill prepared (PDF?) forms

2009-04-27 Thread Alia K
pom wrote: > So I want to create PDF output based on an external layout file. You can allow for a transformation file which is read by your program to change the layout of the output. Think templates. AK -- http://mail.python.org/mailman/listinfo/python-list

Re: recursive outline numbering for object trees

2009-03-30 Thread Alia K
"Gabriel Genellina" wrote: > You should thank Aaron Brady who wrote the original function. I just   > smoothed some edges and glued it with your own code. Ah, Aaron Brady is castironpi... Well, thank you both then. (-: AK -- http://mail.python.org/mailman/listinfo/python-list

Re: recursive outline numbering for object trees

2009-03-30 Thread Alia K
Thanks Gabriel. Your solution works like a charm. (-: AK -- http://mail.python.org/mailman/listinfo/python-list

Re: python contextmanagers and ruby blocks

2009-02-21 Thread Alia K
Aahz wrote: > Longer answer: the way in Python to achieve the full power of Ruby > blocks is to write a function. You are most likely right... there is probably no need to introduce ruby-like blocks to python where iteration comes naturally with list comprehensions and generators. But for the simp

Re: python contextmanagers and ruby blocks

2009-02-21 Thread Alia K
Francesco wrote: > ... ruby code that shows the most twisted 'Hellow world' example I have > ever seen :-) ... and I was gunning for the simplest possible example (-: > ... python code doing the same thing - apparently - > of prevous ruby code, using context managers in a way that I believe the