Re: Checking a Number for Palindromic Behavior

2009-10-21 Thread rurpy
On 10/21/2009 02:56 PM, Tim Chase wrote: > ru...@yahoo.com wrote: >> On 10/21/2009 01:40 AM, Lie Ryan wrote: >>> ru...@yahoo.com wrote: >> 1) It may look like a homework problem to you but it >> probably isn't. >> Seehttp://groups.google.com/group/comp.lang.python/msg/8ac6db43b09fdc92

Re: a splitting headache

2009-10-21 Thread rurpy
On 10/21/2009 11:47 PM, Carl Banks wrote: > On Oct 21, 12:46 pm, David C Ullrich wrote: >> On Tue, 20 Oct 2009 15:22:55 -0700, Mensanator wrote: >> > On Oct 20, 1:51 pm, David C Ullrich wrote: >> > I'm not saying either behaviour is wrong, it's just not obvious that the >> > one behaviour doesn't

Re: equivalent to globals(), locals() for nonlocal variables?

2009-10-21 Thread Gabriel Genellina
En Wed, 21 Oct 2009 16:06:31 -0300, geremy condra escribió: I decided to play around with nonlocal declarations today, and was somewhat surprised when a call to nonlocals() resulted in 'nonlocals is not defined'. Is there an a standard equivalent to globals() or locals() for variables in oute

Re: Cpython optimization

2009-10-21 Thread Olof Bjarnason
2009/10/22 John Yeung > On Oct 22, 12:28 am, John Nagle wrote: > > >The Shed Skin people would welcome some help. > > > >http://shed-skin.blogspot.com/ > > People? It's one guy. It apparently started out as a Master's thesis > as well. ;) > > I am a great admirer of the Shed Skin p

Re: a splitting headache

2009-10-21 Thread Mensanator
On Oct 21, 11:21�pm, John Yeung wrote: > On Oct 21, 5:43�pm, Mensanator wrote: > > > >>> '01110'.split('0') > > > ['', '1', '', '', '', '11', ''] > > > is a perfect example. It shows the empty strings > > generated from the leading and trailing delimiters, > > and also that you get 3 empty st

Re: md5 strange error

2009-10-21 Thread Steven D'Aprano
On Wed, 21 Oct 2009 01:11:29 -0700, catalinf...@gmail.com wrote: > I have this error , what happen ? > > Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38) [GCC 4.3.2 20080917 > (Red Hat 4.3.2-4)] on linux2 Type "help", "copyright", "credits" or > "license" for more information. import md5 >>>

Re: Optimal Character recognition using python

2009-10-21 Thread Steven D'Aprano
On Wed, 21 Oct 2009 07:07:54 -0700, pytart wrote: > Hello , >I have a project to develop a basic character recognition > module in python using backpropagation and artificial neural networks. I > would be very helpful if u cud give me some helpful links for the > project. Oh that's hilari

Re: a splitting headache

2009-10-21 Thread Mensanator
On Oct 22, 1:13�am, ru...@yahoo.com wrote: > On 10/21/2009 11:47 PM, Carl Banks wrote: > > > > > > > On Oct 21, 12:46 pm, David C Ullrich wrote: > >> On Tue, 20 Oct 2009 15:22:55 -0700, Mensanator wrote: > >> > On Oct 20, 1:51 pm, David C Ullrich wrote: > >> > I'm not saying either behaviour is w

Re: Optimal Character recognition using python

2009-10-21 Thread Murtaza Gheewala
That was harsh, Steven. Well, to answer your question pytart, do a quick search here: http://groups.google.com/group/comp.lang.python/topics?pli=1 and/or here: http://aspn.activestate.com/ASPN/Mail/Browse/Threaded/python-list as I'm pretty sure someone has already asked this question that has got a

<    1   2