My Python Program

For the discussion of Perl, Python, Ruby, and PHP and other interpreted languages.

Re: My Python Program

Post by faazshift on Wed Jan 27, 2010 6:04 pm
([msg=34005]see Re: My Python Program[/msg])

Draymire wrote:i keep hearing that python 2.6 is the best python so far and am wondering if i should switch to it instead of python 3.1

The only programing experience i have is a year in Turing..lol, a summer reading about Java and about 5 months in python 3.1
so far python is my favourite as i find it so simple to do almost anything with it. so which version of python do you think i should stick with for awhile?

Python is freakin amazing. Python 3.1 is the latest version, but some third party modules haven't upgraded (which makes some things still require 2.6). If you are using modules that don't exist for 3.1, make programs with 2.6, but otherwise 3.1 is the latest and greatest, so I would recommend it. You can see the differences here: http://docs.python.org/3.1/whatsnew/3.0.html.
faazshift
Contributor
Contributor
 
Posts: 522
Joined: Wed Jun 03, 2009 3:55 pm
Location: Riverton, Utah
Blog: View Blog (0)


Re: My Python Program

Post by insomaniacal on Wed Jan 27, 2010 6:16 pm
([msg=34009]see Re: My Python Program[/msg])

I'd say stick with 2.6. Mostly because 3.1 doesn't support everything, and even though it does fix some bugs I'm sure, most people haven't switched.

I'd personally wait until 3.1 is a more accepted standard before switching to it.
It's not who votes that counts, it's who counts the votes
insomaniacal.blog.com
User avatar
insomaniacal
Addict
Addict
 
Posts: 1212
Joined: Sun May 24, 2009 10:21 am
Blog: View Blog (0)


Re: My Python Program

Post by Defience on Wed Jan 27, 2010 8:54 pm
([msg=34018]see Re: My Python Program[/msg])

insomaniacal wrote:I'd say stick with 2.6. Mostly because 3.1 doesn't support everything, and even though it does fix some bugs I'm sure, most people haven't switched.

I'd personally wait until 3.1 is a more accepted standard before switching to it.


This was my way of thinking, which is why I asked about 3.1. I'm currently using 2.6.2 and on freenoede.net, #python this is the first line of the topic:
* Topic for #python is: NO LOL | http://pound-python.org/ | It's too early to use Python 3.x
User avatar
Defience
Addict
Addict
 
Posts: 1279
Joined: Thu Jun 12, 2008 3:16 pm
Blog: View Blog (0)


Re: My Python Program

Post by tgoe on Thu Jan 28, 2010 2:26 pm
([msg=34049]see Re: My Python Program[/msg])

Draymire wrote:it kinda is windows specific cause i just learned it on a windows machine, the whitespace is there on purpose cause i find it makes it easier for me to read but i guess i code remove some more space from it.
The teacher wanted us to use py3.1 but all the tutorials were from py2.x so i guess it was kinda fudged to get everything to work. And it doesn't start until you move the mouse, i realized that but didn't even think about fixing that (don't know why)

and as for bobby tables that definitely was a xkcd refrence.

Thanks for the comments


Don't get me wrong; white-space is a Good Thing™
But I wasn't talking about truly blank lines. It's not a big deal really. Just a pet peeve of mine to see lines that appear blank visually but are actually full of space and tab characters :) Your code would be over 1kB smaller
and visually identical without these. Imagine if the standard lib had these sorts of lines... I bet It'd be bigger by megabytes with zero difference in code appearance. Might be a fun stego project though :)
User avatar
tgoe
Contributor
Contributor
 
Posts: 527
Joined: Sun Sep 28, 2008 2:33 pm
Location: q3dm7
Blog: View Blog (0)


Re: My Python Program

Post by Arameus on Wed Mar 31, 2010 5:29 pm
([msg=37535]see Re: My Python Program[/msg])

Nobody uses Python 3. Even MIT's Computer Science intro course on opencourseware uses Python 2.6.
Arameus
New User
New User
 
Posts: 36
Joined: Mon Feb 01, 2010 6:53 pm
Location: Ballston Spa, NY
Blog: View Blog (0)


Re: My Python Program

Post by Defience on Wed Mar 31, 2010 5:37 pm
([msg=37536]see Re: My Python Program[/msg])

Dead thread.
User avatar
Defience
Addict
Addict
 
Posts: 1279
Joined: Thu Jun 12, 2008 3:16 pm
Blog: View Blog (0)


Previous

Return to Interpreted Languages

Who is online

Users browsing this forum: No registered users and 0 guests