Python 2.x and 3.x usage survey

Steve Hayes hayesstw at telkomsa.net
Wed Jan 1 05:41:44 EST 2014


On Mon, 30 Dec 2013 13:56:30 -0800, Dan Stromberg <drsalists at gmail.com> wrote:

>I keep hearing naysayers, nay saying about Python 3.x.
>
>Here's a 9 question, multiple choice survey I put together about
>Python 2.x use vs Python 3.x use.
>
>I'd be very pleased if you could take 5 or 10 minutes to fill it out.

I had a look at it, but I've got about as far as "Hello World" in both. 

I borrowed a book called "Learning Python" by Lutz and Asher, which is geared
for 2.2/2.3. 

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. 


-- 
Steve Hayes from Tshwane, South Africa
Web:  http://www.khanya.org.za/stevesig.htm
Blog: http://khanya.wordpress.com
E-mail - see web page, or parse: shayes at dunelm full stop org full stop uk



More information about the Python-list mailing list