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 "
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
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
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
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
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