473,385 Members | 1,465 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 1408
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

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

Similar topics

21
by: asm | last post by:
Hi All, Like typdef, does C have further support for portability? Thanks, ASM
93
by: roman ziak | last post by:
I just read couple articles on this group and it keeps amazing me how the portability is used as strong argument for language cleanliness. In my opinion, porting the program (so you just take the...
35
by: Sunil | last post by:
Hi all, I am using gcc compiler in linux.I compiled a small program int main() { printf("char : %d\n",sizeof(char)); printf("unsigned char : ...
93
by: jacob navia | last post by:
In this group there is a bunch of people that call themselves 'regulars' that insist in something called "portability". Portability for them means the least common denominator. Write your code...
239
by: Eigenvector | last post by:
My question is more generic, but it involves what I consider ANSI standard C and portability. I happen to be a system admin for multiple platforms and as such a lot of the applications that my...
10
by: Lionel B | last post by:
Greetings, I have some code that is to read unformatted data from disc and interpret it as blocks of unsigned integers. In an attempt to achieve efficiency (it is pretty essential for my...
16
by: Lars Uffmann | last post by:
Does anyone have a good suggestion? I am currently using Eclipse Europa with the C-Development Toolkit (plus gnu-toolchain under cygwin) and the Widestudio Native Application Builder plugin. ...
18
by: jacob navia | last post by:
One of the holy cows here is this "portability" stuff. In practice, portability means: 1) Use the least common denominator of all the supported systems. 2) Between usability / good user...
2
by: DiAvOl | last post by:
Hello everyone, I read here and there that bit-field usage should be avoided because it's not portable. My question is why it's not portable? For example let's say I have a struct in my code...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.