Cross Platform

William Ray Wing wrw at mac.com
Thu Sep 5 08:48:04 EDT 2013


On Sep 4, 2013, at 11:47 PM, Chandru Rajendran <Chandru_Rajendran at infosys.com> wrote:

> Hi all,
> 
> I have a doubt regarding the python cross platform.

I think you mean you have a question...

> If we write Class in windows ,whether we can without any modifications in Linux, if so then how about the GUI programming and Libraries.
> Please provide needful information.
> 
> Thanks,
> Chandru
> 

If (and this is a big if), but if you restrict yourself to using libraries which are themselves cross platform (Google "Python standard library" without the quotes) and don't spawn sub-jobs that invoke os-specific operations, then yes - python can be completely and cleanly cross platform.  With respect to GUI programming, that simply means using one of the cross-platform GUI libraries.  In this context Tk and ttk (which are part of the standard library) have the advantage of being both cross platform AND offering native appearance on all platforms.

-Bill




More information about the Python-list mailing list