Re: [BangPypers] BangPypers Digest, Vol 52, Issue 7

2011-12-07 Thread Sateesh Kumar
On Wed, Dec 7, 2011 at 7:41 PM, Anand Patil <2002an...@gmail.com> wrote: > Hi. > > I have a unique question or may be i am not so perfect at python.Please > help me out > > a, b, c = 0, 0, 0 > def getabc(): >print "hi " > > def gettuple(): >print "hello all" > > def getlist(): >print "

Re: [BangPypers] BangPypers Digest, Vol 52, Issue 7

2011-12-07 Thread Pratap Chakravarthy
Try this, global()[ lis['a'][1] ]() or this, lis = { "a": [ getabc, gettuple, getlist ] } lis['a'][1]() On Wed, Dec 7, 2011 at 7:41 PM, Anand Patil <2002an...@gmail.com> wrote: > Hi. > > I have a unique question or may be i am not so perfect at python.Please > help me out > > a, b, c = 0, 0, 0

Re: [BangPypers] BangPypers Digest, Vol 52, Issue 7

2011-12-07 Thread Anand Patil
Hi. I have a unique question or may be i am not so perfect at python.Please help me out a, b, c = 0, 0, 0 def getabc(): print "hi " def gettuple(): print "hello all" def getlist(): print "bye" lis={"a":["getabc","gettuple","getlist"]} lis['a'][1]() why does this fail ? How to make

[BangPypers] [JOB] Openings for Django programmers

2011-12-07 Thread Ganesh Kumar
Job Description : Django programmers Key Responsibilities 1.Development & Integrations of Business Applications based on Django and other technologies. 2.Developer will be involved in the design,development life cycle of new Business solutions, maintenance and support of existing operational sys

Re: [BangPypers] virtual-python & easy_install doubt

2011-12-07 Thread Ashutosh Narayan
OK. Giving it a shot then. Thanks ! On Wed, Dec 7, 2011 at 2:00 PM, Noufal Ibrahim wrote: > Ashutosh Narayan writes: > > > Yes, virtualenv is an extension of virtual-python. I can try that as > well. > > But again my concern is why easy_install is not picking up the virtual > > environment that

Re: [BangPypers] virtual-python & easy_install doubt

2011-12-07 Thread Noufal Ibrahim
Ashutosh Narayan writes: > Yes, virtualenv is an extension of virtual-python. I can try that as well. > But again my concern is why easy_install is not picking up the virtual > environment that I have set to. Any pointers ? [...] I don't think anyone uses virtual-python anymore. You should use