You Are Here:

Community: Developer Discussion Boards

#1 Old Compiling a default.py with a library - 2008-08-25, 09:34

Join Date: Jul 2008
Posts: 19
alancupid
Offline
Registered User
Hi.

I have a file "default.py" which need another file "xml.py" which is under library file. In the console, i put under "E:\\python\\default.py" and another is "E:\\python\\lib\\xml.py"

So, in the default.py, i import xml in order to use the function of xml

Do u know how to compile the default.py and lib\xml.py into sis file? I tried to use ensymble but has problem too

Any suggestion?
Reply With Quote

#2 Old Re: Compiling a default.py with a library - 2008-08-25, 09:57

Join Date: Nov 2006
Posts: 186
Location: Pune, india
sagars's Avatar
sagars
Offline
Regular Contributor
have u installed xml.py as library file?
if yes according to me your sis file automatically refer that from python libray..
i am not sure , please test and tell me.
Reply With Quote

#3 Old Re: Compiling a default.py with a library - 2008-08-25, 09:59

Join Date: May 2007
Posts: 2,737
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Quote:
Originally Posted by alancupid View Post
Hi.

I have a file "default.py" which need another file "xml.py" which is under library file. In the console, i put under "E:\\python\\default.py" and another is "E:\\python\\lib\\xml.py"

So, in the default.py, i import xml in order to use the function of xml

Do u know how to compile the default.py and lib\xml.py into sis file? I tried to use ensymble but has problem too

Any suggestion?
I think you can do in the following way,

Just put your default.py and xml.py in a folder called myapp
Code:
myapp/
default.py
xml.py
Then point Ensymble to the directory where the files are:

then use ensymble as below :


Code:
ensymble.py py2sis myapp
Best Regards,
Croozeus
Reply With Quote

#4 Old Re: Compiling a default.py with a library - 2008-08-25, 10:05

Join Date: Nov 2006
Posts: 186
Location: Pune, india
sagars's Avatar
sagars
Offline
Regular Contributor
Quote:
Originally Posted by croozeus View Post
I think you can do in the following way,

Just put your default.py and xml.py in a folder called myapp
Code:
myapp/
default.py
xml.py
Then point Ensymble to the directory where the files are:

then use ensymble as below :


Code:
ensymble.py py2sis myapp
Best Regards,
Croozeus
hi croozeus
will py2sis command take "myapp" as src file name?
i am not getting ?
how it will take two py files for making sis of them?
please tell me...
Reply With Quote

#5 Old Re: Compiling a default.py with a library - 2008-08-25, 10:17

Join Date: May 2007
Posts: 2,737
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Quote:
Originally Posted by sagars View Post
hi croozeus
will py2sis command take "myapp" as src file name?
i am not getting ?
how it will take two py files for making sis of them?
please tell me...
Personally, I haven't tried it.
But you can give it a try, I suppose it would work as makesis.exe takes such arguments.

Best Regards,
Croozeus
Reply With Quote

#6 Old Re: Compiling a default.py with a library - 2008-08-25, 10:30

Join Date: Jul 2008
Posts: 19
alancupid
Offline
Registered User
yeah
cooll.. u are genius.. solute
May God bless you
Reply With Quote

#7 Old Re: Compiling a default.py with a library - 2008-08-25, 10:31

Join Date: Jul 2008
Posts: 19
alancupid
Offline
Registered User
ops.. Sagars suggestion is working
forget to mention that in the reply
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get around "Program is not a recognized executable" when trying to debug my app leisti Carbide.c++ IDE and plug-ins 5 2008-06-27 17:32
在S60 2nd fp2 sdk下编译的软件在N70上正常运行但在联想P930手机上居然启动不了!? goready@163.com Symbian 21 2008-06-20 12:41
GoogleIt deepika.mangla General Symbian C++ 4 2007-01-08 02:07
SyExpat + problem + memmove + Carbide Express pearman General Symbian C++ 2 2006-10-14 23:21
Compilation series 60 3rd edition asmobease Symbian Tools & SDKs 32 2006-09-13 10:46

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d81449X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZpythonQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZuserE5ftagQSxpythonX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ