Hey,
It's look simple for most of the people here but i can't figure out to that.
If i have :
def test():
print "foo"
and:
var = "test"
how do i call function test from var, kind of ${$var} in some others
languages (or eval())
Cheers, Chmouel.
--
http://mail.python.org/mailman/listinfo/py
Eduardo Suarez wrote:
I'm trying to set the python path variable so i can use them, but i
haven't got it. Any hint?
sys.path.append('/usr/blah/blah/blah/directory')
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I have some code like that to do kind of plugins load :
dir = listdir('/path/')
for i in dir:
sys.path.append('/path/' + i "/")
import Module
doStuff()
sys.path.remove('/path/' + i "/")
it's obviously not working since it get only the first import Module
while t
h ok, thanks to make this thing clear, do you have any pointer how to
debug/watch the python internals ?
Cheers, Chmouel.
--
Chmouel Boudjnah -- Squiz.net -- http://www.squiz.net/
--
http://mail.python.org/mailman/listinfo/python-list
see the help for ulimit (builtils) :
-$ help limit
--
http://mail.python.org/mailman/listinfo/python-list