Re: [Tutor] CPAN for python

2005-06-07 Thread Premshree Pillai
ed 'PyPI': > > http://www.python.org/pypi PyPi is an index. There's effort going on to have a CPAN shell like thing for Python. One of them is Uraga: http://www.byteofpython.info/projects/uraga/uraga.html. -- Premshree Pillai http://www.livejournal.com/users/premshree/

Re: [Tutor] Trying Ruby...

2005-06-06 Thread Premshree Pillai
iated. > > ___ > Tutor maillist - Tutor@python.org > http://mail.python.org/mailman/listinfo/tutor > -- Premshree Pillai http://www.livejournal.com/users/premshree/ ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] CPAN for python

2005-06-06 Thread Premshree Pillai
On 6/7/05, Bill Campbell <[EMAIL PROTECTED]> wrote: > There's also the vaults of parnassus > > http://www.vex.net/parnassus/ That's pretty much dead, isn't it? -- Premshree Pillai http://www.livejournal.com/users/premshree/

Re: [Tutor] Perl equivalent of $#var

2005-05-18 Thread Premshree Pillai
On 5/18/05, Smith, Jeff <[EMAIL PROTECTED]> wrote: > Is there a more Pythonic way to get the Perl equivalent of > $#var > other than > len(var) - 1 By Pythonic, if you mean OO, you can do this: ['foo', 2, 'baz'].__len__() -- Premshree P