| Reply | « Previous Thread | Next Thread » |
|
hi,i have two scripts say a.py and b.py.now i want to execute A PART OF THE SCRIPT b.py FROM a.py.Is this possible....If so how should the code be........
|
| gnanasenthil654321 |
| View Public Profile |
| Find all posts by gnanasenthil654321 |
|
If your mobile is 3rd,you can put one of the scripts in "c:\recourse\",then you can "import" it in another script
IF your phone is 1st or 2nd just put is in libs and import it ![]() |
| xiaoaiyongheng |
| View Public Profile |
| Find all posts by xiaoaiyongheng |
|
For instance,if you want to use b.py in a.py:
--------------------------------------------- import b |
| xiaoaiyongheng |
| View Public Profile |
| Find all posts by xiaoaiyongheng |
|
Join Date: Feb 2008
Posts: 743
Location: Belo Horizonte, Brazil
Rafael T.
Offline
Forum Nokia Champion
|
|
|
Quote:
Code:
import sys
sys.path.append("E:\\Python")
import b
Rafael. |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| How to make my python script run at background? | mdzhao | Python | 5 | 2007-07-02 17:02 |
| help in run script | perthachy | Python | 6 | 2007-07-02 04:01 |
| How to run my python script? | Gowtham_India | Python | 2 | 2007-06-25 11:15 |
| I can't run Python script on my mobile. HELP!!! | Nirvana | Python | 3 | 2007-05-30 14:04 |
| write perl/python script in your S60 phone | kamijawa | Python | 5 | 2006-06-03 16:59 |