Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #53701

Re: Cross Platform

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <wrw@mac.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.021
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'context': 0.07; 'linux,': 0.07; 'cc:addr:python-list': 0.11; 'python': 0.11; 'gui': 0.12; 'windows': 0.15; '"python': 0.16; 'cleanly': 0.16; 'libraries.': 0.16; 'quotes)': 0.16; 'received:mac.com': 0.16; 'spawn': 0.16; 'thanks,': 0.17; 'wrote:': 0.18; 'all,': 0.19; 'received:10.0.1': 0.19; 'programming': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**1': 0.23; 'operations,': 0.30; 'restrict': 0.30; '(which': 0.31; 'invoke': 0.31; 'libraries': 0.31; 'sep': 0.31; 'class': 0.32; 'themselves': 0.32; 'but': 0.35; 'appearance': 0.36; 'doubt': 0.36; 'programming,': 0.36; 'charset:us-ascii': 0.36; 'received:10.0': 0.36; 'received:10': 0.37; 'being': 0.38; 'received:17': 0.38; 'pm,': 0.38; 'how': 0.40; 'simply': 0.61; 'offering': 0.63; 'provide': 0.64; 'yes': 0.68; 'respect': 0.70; 'yourself': 0.78; 'header:In-reply-to:1': 0.84; 'subject:Platform': 0.84; '2013,': 0.91
X-Proofpoint-Virus-Version vendor=fsecure engine=2.50.10432:5.10.8794,1.0.431,0.0.0000 definitions=2013-09-05_05:2013-09-05,2013-09-05,1970-01-01 signatures=0
X-Proofpoint-Spam-Details rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1305240000 definitions=main-1309050065
Content-type text/plain; charset=us-ascii
MIME-version 1.0 (Mac OS X Mail 6.5 \(1508\))
Subject Re: Cross Platform
From William Ray Wing <wrw@mac.com>
In-reply-to <F9D8DC52CB96E24D8C7AA5F8E9781E881E3963A8@BLRKECMBX23.ad.infosys.com>
Date Thu, 05 Sep 2013 08:48:04 -0400
Content-transfer-encoding quoted-printable
References <F9D8DC52CB96E24D8C7AA5F8E9781E881E3963A8@BLRKECMBX23.ad.infosys.com>
To Chandru Rajendran <Chandru_Rajendran@infosys.com>
X-Mailer Apple Mail (2.1508)
Cc "python-list@python.org" <python-list@python.org>, William Ray Wing <wrw@mac.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.88.1378385294.5461.python-list@python.org> (permalink)
Lines 28
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1378385294 news.xs4all.nl 15932 [2001:888:2000:d::a6]:33360
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:53701

Show key headers only | View raw


On Sep 4, 2013, at 11:47 PM, Chandru Rajendran <Chandru_Rajendran@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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Cross Platform William Ray Wing <wrw@mac.com> - 2013-09-05 08:48 -0400

csiph-web