469,358 Members | 1,639 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,358 developers. It's quick & easy.

Portability of application

440 256MB
Hi,

Currently I am working in Python IDE2.4 and TK GUI.I would like to work on the single source which works for both UNIX and WIndows OS.So for making the application compatibility with different OS,I hope I dont need to write/modify the code for different OS.

I have some image files or logo file which I have to create as a package/exe of the application.So this can be created similar way as we create for the simple applications

Thanks in advance
PSB
Mar 14 '07 #1
2 1277
bartonc
6,596 Expert 4TB
Hi,

Currently I am working in Python IDE2.4 and TK GUI.I would like to work on the single source which works for both UNIX and WIndows OS.So for making the application compatibility with different OS,I hope I dont need to write/modify the code for different OS.

I have some image files or logo file which I have to create as a package/exe of the application.So this can be created similar way as we create for the simple applications

Thanks in advance
PSB
Most Python installations on *nix DO have Tk/Tkinter (some do not). Your code should run unaltered across platforms with standard Python installations.
I've been working with py2exe (windows only) and it handles image files fairly easily. PyInstaller should also do this (*nix & Windows). Of course, if you use these utilities to pack you code into a "binary" (not actually true binary) the target machine does not need python installed on it.
Mar 14 '07 #2
psbasha
440 256MB
Thanks for the reply,

The source code written for the applications developed using Python can be written in any OS,has to build and executed in the Diff OS and package it as per the OS.

(or ) For example develop the application Windows OS (Source Code) ,build and execute in Windows OS and Package in Windows,Use this WIndows and UNIX OS.

Develop (Source Code ) : Windows OS
Build and Execute : Windows OS
Package : Windows OS
Application will Support : Windows OS or UNIX or etc

Whether this application works in UNIX


(or ) We have to do in this way

Develop (Source Code ) : Windows OS
Build and Execute : Windows OS or UNIX OS or etc ( Install Python in diff OS)
Package : Windows OS or UNIX OS or etc
Application will Support : Windows OS or UNIX or etc


-PSB
Mar 14 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

21 posts views Thread by asm | last post: by
93 posts views Thread by roman ziak | last post: by
35 posts views Thread by Sunil | last post: by
93 posts views Thread by jacob navia | last post: by
239 posts views Thread by Eigenvector | last post: by
10 posts views Thread by Lionel B | last post: by
18 posts views Thread by jacob navia | last post: by
2 posts views Thread by DiAvOl | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.