Which python version for newbies 2 or 3 ?

A forum for general discussion of the Python programming language.

Which python version for newbies 2 or 3 ?

Postby sumanrajan435 » Sun Jul 21, 2013 2:42 am

Is python 2 or 3 version.. Good for newbies?... I read. A post online saying that for starters its better to start in 2 ... Than in 3 and why is that so ?
Last edited by Yoriz on Mon Jul 22, 2013 4:37 pm, edited 1 time in total.
Reason: changed title
§^m@N..8-)..
sumanrajan435
 
Posts: 7
Joined: Sat Jul 20, 2013 6:18 pm
Location: India-kerala-kollam-kavanadu

Re: python version

Postby ochichinyezaboombwa » Sun Jul 21, 2013 4:03 am

This is an open-end question, I think nobody can give the the perfect answer that suits for your situation.

The good news is,
-- if you stick with learning Python for at least a year, you'll be able to answer your question for yourself - yourself;
-- if you don't, it doesn't matter.

So: pick whatever version is easier for you to learn right now (i.e. you already have a book, a version installed on your computer, etc.) and start leaning.
ochichinyezaboombwa
 
Posts: 200
Joined: Tue Jun 04, 2013 7:53 pm

Re: python version

Postby metulburr » Sun Jul 21, 2013 4:34 am

I started with 3.x, because i thought 2.x would be dead by the time i got going in the language, lol. Low and behold 2 years later, 3.x has gotten few steps further, and not widespread yet.

I would shoot for python2.x, the reasoning:
Because you can focus on learning the language, OOP, etc. without the problems that 3.x arises. There is a lack of tutorials that are in 3.x. If your good enough, you can just port it over to 3.x, but just starting out, you have no idea. You will learn to port between the two as you go, and make your code run with either version, regardless of which language you start with. But it makes the inital leap easier into programming (at least i would think so). 3.x also does not have all the 3rd party modules ported yet.

For example: sometimes i have to wrestle with a 3rd party lib that hasn't yet been legit ported to 3.x. Considered in testing phase. So if somehting goes wrong, it could be any number of things. Download it from github, maybe change some things, here and there that they screwed up. Whereas in 2.x its a simple apt-get install (for linux) as its already in the repos ready to go.
New Users, Read This
OS Ubuntu 14.04, Arch Linux, Gentoo, Windows 7/8
https://github.com/metulburr
steam
User avatar
metulburr
 
Posts: 1471
Joined: Thu Feb 07, 2013 4:47 pm
Location: Elmira, NY

Re: python version

Postby sumanrajan435 » Sun Jul 21, 2013 7:06 pm

Thanks for the advice..
§^m@N..8-)..
sumanrajan435
 
Posts: 7
Joined: Sat Jul 20, 2013 6:18 pm
Location: India-kerala-kollam-kavanadu

Re: python version

Postby ochichinyezaboombwa » Tue Jul 23, 2013 1:00 am

metulburr wrote:I started with 3.x, because i thought 2.x would be dead by the time i got going in the language, lol. Low and behold 2 years later, 3.x has gotten few steps further, and not widespread yet.
2 years later? you obviously mean 5?
ochichinyezaboombwa
 
Posts: 200
Joined: Tue Jun 04, 2013 7:53 pm

Re: Which python version for newbies 2 or 3 ?

Postby metulburr » Tue Jul 23, 2013 1:40 am

well 2 years from when i started learning to program, yeah, before that would of been moot to me as all i knew 2 years ago is hello world programs.
New Users, Read This
OS Ubuntu 14.04, Arch Linux, Gentoo, Windows 7/8
https://github.com/metulburr
steam
User avatar
metulburr
 
Posts: 1471
Joined: Thu Feb 07, 2013 4:47 pm
Location: Elmira, NY

Re: Which python version for newbies 2 or 3 ?

Postby manojg » Fri Aug 02, 2013 5:56 pm

Always use newest version.
manojg
 
Posts: 13
Joined: Tue Jul 09, 2013 6:40 pm

Re: Which python version for newbies 2 or 3 ?

Postby ochichinyezaboombwa » Sat Aug 03, 2013 4:33 am

Never use newest version.
ochichinyezaboombwa
 
Posts: 200
Joined: Tue Jun 04, 2013 7:53 pm

Re: Which python version for newbies 2 or 3 ?

Postby micseydel » Sat Aug 03, 2013 6:13 am

If you want to use matplotlib, like I do relatively often, Python 3 isn't an option. It depends on what you want. Want the cool more well-thought out language? (That still isn't perfect, mind you.) Or do you want the thing that there is a tremendous amount of support for? It's a trade-off, likely nearly everything in computer science and software engineering.
Join the #python-forum IRC channel on irc.freenode.net!

Please do not PM members regarding questions which are meant to be discussed publicly. The point of the forum is so that others can benefit from it. We don't want to help you over PMs or emails.
User avatar
micseydel
 
Posts: 1369
Joined: Tue Feb 12, 2013 2:18 am
Location: Mountain View, CA

Re: Which python version for newbies 2 or 3 ?

Postby metulburr » Sat Aug 03, 2013 12:15 pm

Always use newest version.

that is not so, especially with python.

Everything "newer" in computer world, is buggy, lack of help, lack of tutorials, lack of libraries

A basic example of this is:
if i am a gamer that plays minecraft, and I only care about vanilla minecraft, i dont care about mods or texture packs, and want the latest updates and featuresi can use the latest version of minecraft. However, if i am a person that uses texture packs and mods (which i am), i have to wait for those mods and texture packs to be updated to the latest version ebfore i update my minecraft version, which in minecraft can take from a few days to a few months, for some mods maybe a year.

Span this example out across a couple decades and you have python. Some people use libs that require the older version that is not yet ported up, and some dont.

the same goes for any language, some people have updated compilers for c++ which allows use of c++11, which gives them one output for an error, while others have an older compiler that gives them another output for an error, different versions, differnet uses, etc.
New Users, Read This
OS Ubuntu 14.04, Arch Linux, Gentoo, Windows 7/8
https://github.com/metulburr
steam
User avatar
metulburr
 
Posts: 1471
Joined: Thu Feb 07, 2013 4:47 pm
Location: Elmira, NY

Re: Which python version for newbies 2 or 3 ?

Postby manojg » Sat Aug 03, 2013 3:33 pm

ochichinyezaboombwa wrote:Never use newest version.


To start for new person, it is always good to use currently available stable new version. It is not enlightening to start from C to learn C++.
manojg
 
Posts: 13
Joined: Tue Jul 09, 2013 6:40 pm

Re: Which python version for newbies 2 or 3 ?

Postby stranac » Sat Aug 03, 2013 4:11 pm

  1. C++ is not a newer version of C, it's different language
  2. There are 2 "currently available stable new" versions of python.
    2.7.5 and 3.3.2 were released on the same day
  3. The choice of python 2 or 3 depends on a person's needs.
    There are more useful learning resources for python 2, as well as better external library support, so it's often a better choice.
  4. The differences between 2 and 3 are mostly minor, so the initial choice doesn't really matter all that much.
Last edited by stranac on Sat Aug 03, 2013 4:22 pm, edited 1 time in total.
Reason: fucking phone acting up
Friendship is magic!

R.I.P. Tracy M. You will be missed.
User avatar
stranac
 
Posts: 1144
Joined: Thu Feb 07, 2013 3:42 pm

Re: Which python version for newbies 2 or 3 ?

Postby manojg » Sat Aug 03, 2013 5:51 pm

stranac wrote:
  1. C++ is not a newer version of C, it's different language
  2. There are 2 "currently available stable new" versions of python.
    2.7.5 and 3.3.2 were released on the same day
  3. The choice of python 2 or 3 depends on a person's needs.
    There are more useful learning resources for python 2, as well as better external library support, so it's often a better choice.
  4. The differences between 2 and 3 are mostly minor, so the initial choice doesn't really matter all that much.


Yes, C++ is not a newer version of C but C++ is an extension of C with implementation of class and object. If somebody learn C, he/she can also do C++ without class and object, and without full power of C++. when somebody start with older version of python, someday he/she will has to switch to new stable version of the python which has more modules, more power. So, why not start with newer stable version of the python rather than older one? Newer version does not mean that it is scary.
manojg
 
Posts: 13
Joined: Tue Jul 09, 2013 6:40 pm

Re: Which python version for newbies 2 or 3 ?

Postby stranac » Sat Aug 03, 2013 6:08 pm

manojg wrote:when somebody start with older version of python, someday he/she will has to switch to new stable version of the python which has more modules, more power.

This tells me you don't really know much about the current state of python 2 and 3.
Python 2 is the one with more modules supported, and that lack of module support in python 3 is a huge part of why not all people have switched to it.

Sure, everyone will(probably) eventually change to python 3, but that doesn't necessarily make it the best choice right now.
As I said, it all depends on what you want to do with it, and the resources available.
Friendship is magic!

R.I.P. Tracy M. You will be missed.
User avatar
stranac
 
Posts: 1144
Joined: Thu Feb 07, 2013 3:42 pm

Re: Which python version for newbies 2 or 3 ?

Postby Kebap » Wed Aug 07, 2013 12:48 pm

Some more info to this old 2-or-3 question: http://wiki.python.org/moin/Python2orPython3
Learn: How To Ask Questions The Smart Way
Join the #python-forum IRC channel on irc.freenode.net and chat with uns directly!
Kebap
 
Posts: 396
Joined: Thu Apr 04, 2013 1:17 pm
Location: Germany, Europe

Re: Which python version for newbies 2 or 3 ?

Postby XndrK » Mon Aug 12, 2013 12:18 am

I'm using 2.x, but that's just because when offered the choice, I just picked it. I guess. :P
Proverbs 26:14 describes me a bit too well.

Version: Python 2.7.5

https://github.com/4of92000
https://github.com/PythonForum/
User avatar
XndrK
 
Posts: 172
Joined: Sat Jun 15, 2013 7:57 pm


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 4 guests

cron