i've got toto.py :

import titi
def niwhom():
     pass

and titi.py :

def nipang():
      pass

how can i know in titi.py that's it's toto.py that is calling titi.py
and the path of toto ?

And

why :

bidule.py :
class bidetmusique:
         pass


truc.py :
X = __import__("bidule")

why exec("X.bidetmusique()") return none
and X.bidetmusique() return an object ?

How could i do to make this string "X.bidetmusique()" return an object ?

Regards and thanks
Bussiere
Eat the strawberry


Google Fan boy
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to