Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #62967
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'win32': 0.03; 'subject:Python': 0.06; 'initialize': 0.07; 'linux,': 0.07; 'steve': 0.09; 'latter': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'seemed': 0.09; 'windows,': 0.09; 'python': 0.11; 'jan': 0.12; 'windows': 0.15; '"hello': 0.16; '2.7.2': 0.16; '>that': 0.16; 'booted': 0.16; 'guess.': 0.16; 'hayes': 0.16; 'inc.)': 0.16; 'message-id:@4ax.com': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:usage': 0.16; 'wed,': 0.18; 'bit': 0.19; 'seems': 0.21; '>>>': 0.22; 'print': 0.22; 'install': 0.23; '2.x': 0.24; 'tells': 0.24; 'url:home': 0.24; 'versions': 0.24; 'header:X-Complaints- To:1': 0.27; '(c)': 0.29; '2009': 0.29; 'code': 0.31; 'that.': 0.31; '3.x': 0.31; 'skip:c 30': 0.32; 'linux': 0.33; 'device': 0.34; 'there,': 0.34; 'problem.': 0.35; 'but': 0.35; 'version': 0.36; '+0200,': 0.36; "didn't": 0.36; 'charset:us-ascii': 0.36; 'should': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'unable': 0.39; 'received:org': 0.40; 'even': 0.60; 'more': 0.64; 'between': 0.67; 'reserved.': 0.68; 'hand': 0.80; 'discovered': 0.83; 'subject:survey': 0.84; 'differences': 0.93; 'received:108': 0.93 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
| Subject | Re: Python 2.x and 3.x usage survey |
| Date | Wed, 01 Jan 2014 12:54:56 -0500 |
| Organization | IISS Elusive Unicorn |
| References | <mailman.4731.1388440598.18130.python-list@python.org> <hqr7c9dce9krvt7rm49ujptl4dl9mr68gl@4ax.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | adsl-108-79-217-221.dsl.klmzmi.sbcglobal.net |
| X-Newsreader | Forte Agent 6.00/32.1186 |
| X-No-Archive | YES |
| 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.4783.1388598905.18130.python-list@python.org> (permalink) |
| Lines | 51 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1388598905 news.xs4all.nl 2972 [2001:888:2000:d::a6]:36612 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:62967 |
Show key headers only | View raw
On Wed, 01 Jan 2014 12:41:44 +0200, Steve Hayes <hayesstw@telkomsa.net>
declaimed the following:
>
>But the version I have in Windows is 3.2, and it seems that even "Hello World"
>presents and insurmountable problem.
>
>Eventually I discovered that one of the differences bytween 2.x and 3.x is
>that the former has "print" and the latter has "print()" but weven using that
>it tells me it cant find the PRN device or something.
>
>I've got 2.x on Linux, so I booted into that and it seemed to work there, but
>it seems that the differences between the versions are not trivial.
>
>So perhaps I should just try to install 2.x in Windows, and learn that.
Off hand I suspect you didn't follow the same process on Linux as you
did on Windows.
But as you didn't cut&paste the exact code and invocation/error message
we have to guess.
-=-=-=-=-
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Wulfraed\Documents>print("hello lunar")
Unable to initialize device PRN
C:\Users\Wulfraed\Documents>print "hello moon"
Unable to initialize device PRN
C:\Users\Wulfraed\Documents>python
ActivePython 2.7.2.5 (ActiveState Software Inc.) based on
Python 2.7.2 (default, Jun 24 2011, 12:22:14) [MSC v.1500 64 bit (AMD64)]
on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> print("hello lunar")
hello lunar
>>> print "hello moon"
hello moon
>>> ^Z
C:\Users\Wulfraed\Documents>
-=-=-=-=-
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Python 2.x and 3.x usage survey Dan Stromberg <drsalists@gmail.com> - 2013-12-30 13:56 -0800
Re: Python 2.x and 3.x usage survey Steve Hayes <hayesstw@telkomsa.net> - 2014-01-01 12:41 +0200
Re: Python 2.x and 3.x usage survey Chris Angelico <rosuav@gmail.com> - 2014-01-01 21:52 +1100
Re: Python 2.x and 3.x usage survey Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-01-01 22:37 +1100
Re: Python 2.x and 3.x usage survey Steve Hayes <hayesstw@telkomsa.net> - 2014-01-01 14:38 +0200
Re: Python 2.x and 3.x usage survey Chris Angelico <rosuav@gmail.com> - 2014-01-01 23:39 +1100
Re: Python 2.x and 3.x usage survey Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-01-01 12:44 +0000
Re: Python 2.x and 3.x usage survey David <bouncingcats@gmail.com> - 2014-01-02 01:07 +1100
Re: Python 2.x and 3.x usage survey Steve Hayes <hayesstw@telkomsa.net> - 2014-01-01 19:55 +0200
Re: Python 2.x and 3.x usage survey Dave Angel <davea@davea.name> - 2014-01-01 09:32 -0500
Re: Python 2.x and 3.x usage survey Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-01-01 12:54 -0500
Re: Python 2.x and 3.x usage survey John Ladasky <john_ladasky@sbcglobal.net> - 2014-01-10 09:36 -0800
Re: Python 2.x and 3.x usage survey Ned Batchelder <ned@nedbatchelder.com> - 2014-01-10 12:48 -0500
Re: Python 2.x and 3.x usage survey John Ladasky <john_ladasky@sbcglobal.net> - 2014-01-10 11:43 -0800
Re: Python 2.x and 3.x usage survey MRAB <python@mrabarnett.plus.com> - 2014-01-10 19:53 +0000
Re: Python 2.x and 3.x usage survey Ned Batchelder <ned@nedbatchelder.com> - 2014-01-10 14:50 -0500
Re: Python 2.x and 3.x usage survey Ethan Furman <ethan@stoneleaf.us> - 2014-01-10 10:02 -0800
csiph-web