template inheritance

2009-01-11 Thread Alex K
While building a website using template inheritance one usually does the following: fetch from database fetch from some more data from database ... << more required computations then at the end render the template with the fetched data Without template inheritance one usually does the following:

Re: paging in python shell

2008-01-26 Thread Alex K
ouput of a statement. Alex On 26/01/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > --- Alex K <[EMAIL PROTECTED]> escribió: > > > Thank you for this interesting tip. However I'm not > > sure to know how > > to use it. It seems pydoc.pager('tex

Re: paging in python shell

2008-01-14 Thread Alex K
Thanks it's good to know. iPyton looks really neat. On 15/01/2008, Ben Finney <[EMAIL PROTECTED]> wrote: > John Machin <[EMAIL PROTECTED]> writes: > > > C:\junk>python demomore.py | more > > Your example uses the OS shell to invoke a pager on the output of the > Python process. The OP was asking a

Re: paging in python shell

2008-01-14 Thread Alex K
Thanks John, but would it be possible to remain in the python interpreter? On 14/01/2008, John Machin <[EMAIL PROTECTED]> wrote: > On Jan 15, 7:35 am, "Alex K" <[EMAIL PROTECTED]> wrote: > > Hi Tim, > > > > Yes I mean piping the output into "more&

Re: paging in python shell

2008-01-14 Thread Alex K
Hi Tim, Yes I mean piping the output into "more" for example. Alex On 14/01/2008, Tim Roberts <[EMAIL PROTECTED]> wrote: > "Alex K" <[EMAIL PROTECTED]> wrote: > > > >Does anyone know if the python shell supports paging or if I should > >loo

paging in python shell

2008-01-12 Thread Alex K
Hello, Does anyone know if the python shell supports paging or if I should look into iPython? Thank you so much. Alex -- http://mail.python.org/mailman/listinfo/python-list

PIL question

2008-01-09 Thread Alex K
Hello, Would anyone know how to generate thumbnails with rounded corners using PIL? I'm also considering imagemagick if PIL turns out not to be appropriate for the task. Thank you so much, Alex -- http://mail.python.org/mailman/listinfo/python-list

Re: introspection question

2008-01-07 Thread Alex K
Nice thank you. But anyway to make it look pretty? On 07/01/2008, Peter Otten <[EMAIL PROTECTED]> wrote: > Alex K wrote: > > > What would be the simplest way of enumerating all methods and members > > (including inherited) of a given object? Thank you. > >

introspection question

2008-01-07 Thread Alex K
Hi Guys, What would be the simplest way of enumerating all methods and members (including inherited) of a given object? Thank you. Alex -- http://mail.python.org/mailman/listinfo/python-list