Aztlan
Posts: 4
Joined: Fri Jul 20, 2012 7:40 pm

I am new to python

Fri Jul 20, 2012 9:55 pm

I am new to phyhon what do you recommend I use phyhon 2.x or 3.x

mraltair
Posts: 43
Joined: Mon May 28, 2012 12:00 pm
Location: Northants

Re: I am new to python

Fri Jul 20, 2012 10:11 pm

I've only recently started, and I chose 3. My reason was because everything will be 3 at some point and the difference isn't that much.

If you follow Youtube tutorials the top comments often explain any difference between the syntax of 2 and 3. Or just learn using materials that have examples in 3.x.
This is for 3.x and I followed Thenewboston tutorials too.


jardiamj
Posts: 18
Joined: Thu Jan 19, 2012 7:11 pm

Re: I am new to python

Fri Jul 20, 2012 11:00 pm

The Introduction to Computer Science course (CS101) at udacity.com is a very nice introduction to CS and Python at the same time. Take a look at it: http://www.udacity.com/overview/Course/ ... ev/apr2012

toxibunny
Posts: 1382
Joined: Thu Aug 18, 2011 9:21 pm

Re: I am new to python

Sat Jul 21, 2012 4:34 am

I use 2.7 and deliberately use print ("whatever") instead of print "whatever", because they do the same thing. I'm pretty new too, but haven't ran into any problems yet...
note: I may or may not know what I'm talking about...

6677
Posts: 383
Joined: Wed Mar 14, 2012 9:23 pm

Re: I am new to python

Sat Jul 21, 2012 6:37 pm

toxibunny wrote:I use 2.7 and deliberately use print ("whatever") instead of print "whatever", because they do the same thing. I'm pretty new too, but haven't ran into any problems yet...
I've had issues with it inserting quotation marks to my terminal when I use brackets, this is on mac, windows and linux on several machines.

Many 3rd party libraries are still not updated to python 3 and the tutorials for those that have still refer to python 2 usually, some of the larger tasks the difference between 2 and 3 can become quite apparent. I originally learnt 3 and actually went BACK to 2. Also I use ironpython alot on windows which is based on the 2 syntax (and is much more picky about the quote above)

User avatar
Sloseph
Posts: 8
Joined: Thu Jun 28, 2012 2:13 pm

Re: I am new to python

Sun Jul 22, 2012 9:31 am

portets wrote:http://en.wikibooks.org/wiki/Non-Progra ... r_Python_3 is what I started with.
just wanted to say thanks for posting this, I got my Pi on Friday and have been struggling to find a good tutorial set that works well for me, i've just had a look through and this one seems to work for me
“Once you've lost you faith in love and music the end won't be long”

portets
Posts: 186
Joined: Sat Oct 29, 2011 6:24 am

Re: I am new to python

Sun Jul 22, 2012 11:38 pm

Yeah :)

When I first started out, my learning style didn't fit with most tutorials. But that one worked well.

Return to “Python”