Thank you Fredrik Lundh
for your help ...
it worked ...
the problem was in saving of file first.py
Fredrik Lundh wrote:
> "Shahriar Shamil Uulu" wrote:
>
> > i got another questions. For example i have two programs in python
> > like: first.py, second.py.
> > In first.py i have a function test() li
Another thing to remeber: Make sure the first.py and second.py are locateed in the same directory OR the path of first.py is in *sys.path*. Otherwise you'll get an exception. 2005/12/20, Fredrik Lundh <
[EMAIL PROTECTED]>:"Shahriar Shamil Uulu" wrote:
> i got another questions. For example i have t
"Shahriar Shamil Uulu" wrote:
> i got another questions. For example i have two programs in python
> like: first.py, second.py.
> In first.py i have a function test() like:
> # first.py
> ...
> def test(name):
> print name
>
> so other functions
> =
>
> #second.py
19 Dec 2005 23:56:04 -0800, Shahriar Shamil Uulu <[EMAIL PROTECTED]>:
Dear All,i got another questions. For example i have two programs in pythonlike: first.py, second.py.In first.py i have a function test() like:# first.py...def test(name): print name
so other functions==
Dear All,
i got another questions. For example i have two programs in python
like: first.py, second.py.
In first.py i have a function test() like:
# first.py
...
def test(name):
print name
so other functions
=
#second.py
Question is how i can include first.py i