I think taking a look at

   sys.path.append()

might help.

Esmail

venutaurus...@gmail.com wrote:
Hello all,
          I have a situation where I need to call functions present in
a different script whose hierarchy is something like below:

C:\Pythonlib\uitl\script1.py {Place where my functions definitions are
present}

C:\Scripts\script2.py { Place where function calls are made}

           In such a situation how can I import functions from
script1.py and use it in script2.py.


--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to