How to call function which is in one program ...

Kevin Yuan farproc at gmail.com
Tue Dec 20 04:21:18 EST 2005


19 Dec 2005 23:56:04 -0800, Shahriar Shamil Uulu <shamilsons at gmail.com>:
>
> 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 into second.py and use function
> test.py.
> Thank you ...
>


I also want to know:) Someone please tell us 2.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20051220/9943e672/attachment.html>


More information about the Python-list mailing list