Calling user defined functions from a different script..

venutaurus539 at gmail.com venutaurus539 at gmail.com
Wed Apr 15 07:33:00 EDT 2009


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.


Please let me know if you need any further details.

Thank you,
Venu Madhav.



More information about the Python-list mailing list