Re: [BangPypers] Issue with list comprehension

2013-10-30 Thread Asokan Pichai
import itertools def fib(): a, b = 0, 1 while True: yield b a, b = b, a+b print sum(itertools.takewhile(lambda x: x < 400, fib)) --- I tried the above; and it worked too (986) Asokan Pichai ___ BangPypers mail

Re: [BangPypers] re module help

2012-01-09 Thread Asokan Pichai
I want over program i want get > output, please guide me. how to get output. > > > -Ganesh. > > Did I learn something today? If not, I wasted it. > ___ > BangPypers mailing list > BangPypers@python.org > http://mail.python.org/mailman/listinfo/b

Re: [BangPypers] ubuntu fonts..

2011-11-08 Thread Asokan Pichai
http://hivelogic.com/articles/top-10-programming-fonts/ is a good place to look -- Asokan Pichai *---* We will find a way. Or, make one. (Hannibal) ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman

Re: [BangPypers] [commercial] python/django training

2011-05-13 Thread Asokan Pichai
On 12 May 2011 23:16, Saju M wrote: > Hi, > I think 25k is too high !!! > > Then do not attend; Learn on your own and start a batch at a lower price point -- Asokan Pichai *---* We will find a way. Or, make on

Re: [BangPypers] [JOB] Python/Zope developers

2011-02-16 Thread Asokan Pichai
Me Bad. Forgot to provide the contact data. Contact me offlist at pasokan AT gmail DOT com or call me up: +91 98409 11857 On 17 February 2011 10:49, Asokan Pichai wrote: > > Hi > > [Sorry for cross-posting] > > We are looking to hire three developers with 2+ years

[BangPypers] [JOB] Python/Zope developers

2011-02-16 Thread Asokan Pichai
to talk to you if you think you can offer us other options regarding location and mode of engagement. -- Asokan Pichai *---* We will find a way. Or, make one. (Hannibal) ___ BangPypers mailing list BangPypers@python.org http

Re: [BangPypers] parsing directory and subdirecties

2010-11-17 Thread Asokan Pichai
On 18 November 2010 09:35, Nitin Kumar wrote: > hi all, > > is there any simple way where a can parse into directory and subdirectories > to get the detail of files and count. Check if os.walk() is useful. -- Asokan Pichai *---* We will find a way. Or, make on

Re: [BangPypers] Wall street may embrace Python

2010-04-26 Thread Asokan Pichai
not look >> like it needs a DSL contract but more of routine programming. >> > > Apologies at persisting in this .. but I do think it is a very > unconventional usecase for programs to be used as specifications. > I understood the Python program as a means to play around with asset

Re: [BangPypers] Wall street may embrace Python

2010-04-26 Thread Asokan Pichai
erilla-lisp-opus.html -- Asokan Pichai *---* We will find a way. Or, make one. (Hannibal) ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] why is round() not working?

2010-02-18 Thread Asokan Pichai
rb >> x = 2.17 => 2.17 >> x => 2.17 >> If you are looking at displaying, consider doing sth. like >>> print "%5.3f" %(round(2.1667001, 3)) 2.167 HTH -- Asokan Pichai *---* We will find a way. Or, make one. (Hannibal) __

Re: [BangPypers] Future of Python Programmers

2010-02-01 Thread Asokan Pichai
n with a language you dont know well, even for problems unsuited for your favourite language. But they are still tools. So develop an expertise in two wheelers not monkey wrenches. HTH and all the best -- Asokan Pichai *---* We will find a way. Or, make one. (Hannibal) ___

Re: [BangPypers] Business rule engine in Python

2009-12-14 Thread Asokan Pichai
Take a look at (PY)CLIPS -- Asokan Pichai *---* We will find a way. Or, make one. (Hannibal) ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Google Go

2009-11-11 Thread Asokan Pichai
Python and security of C++ ? I thought it should be the other > way around! Who did the marketing for this...! > > One presumes they meant development speed. -- Asokan Pichai *---* We will find a way. Or, make one. (Hannibal) __

Re: [BangPypers] array in python

2009-10-07 Thread Asokan Pichai
sine wave in  an array in > python? > > Regards, > Harshal Jadhav > ___ > BangPypers mailing list > BangPypers@python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- Asokan Pichai

[BangPypers] [OT] Re: [ANN][X-Post] SciPy India conference in Dec. 2009

2009-10-07 Thread Asokan Pichai
>    and quite often very critical discussions.  The rights are more than >    "inalienable", they are fundamental. > inalienable: unable to be taken away from or given away by the possessor Does not seem to be lesser than Fundamental to me. -- Asokan Pichai *--

Re: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009

2009-10-07 Thread Asokan Pichai
no-holds barred discussions, but I would like draw the line at comments that are not informed about the subject matter at hand Asokan Pichai On Wed, Oct 7, 2009 at 4:36 PM, Anand Balachandran Pillai wrote: > > > On Wed, Oct 7, 2009 at 4:10 PM, Madhusudan C.S > wrote: >> >>