Re: Calling user defined functions from a different script..

2009-04-15 Thread Aaron Brady
On Apr 15, 6:33 am, "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:\Scri

Re: Calling user defined functions from a different script..

2009-04-15 Thread Esmail
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

Re: Calling user defined functions from a different script..

2009-04-15 Thread John Machin
On Apr 15, 9:33 pm, "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:\Scri

Calling user defined functions from a different script..

2009-04-15 Thread venutaurus...@gmail.com
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