0
7

[–] Plant_Boy 0 points 7 points (+7|-0) ago 

Be wary between Python 2 and Python 3. They made some changes in the code so sometimes Python 3 does not understand Python 2 code and Python 2 code does not like Python 3.

For yourself, you should probably just be interested in Python 3.

If you're coding in Microsoft, download Visio Studio for programming in. If Linux then you should be able to install Python fine and find the appropriate addon packages by searching for the correct console command.

0
4

[–] pok3r 0 points 4 points (+4|-0) ago 

Bump, Learning python should be done on py3.

0
0

[–] 1moar ago 

Has it evolved enough since LPTHW to disregard his emphasis on P2? Legitimate question...

0
1

[–] 4164016? 0 points 1 point (+1|-0) ago 

I'd also suggest they start with a simple hello world. That tutorial will teach you about programming software and executing the code.

Here's a fast tutorial of the most common object types in Python:

strings: "asdf" cannot be changed later. You assign a string by simply typing "variable = 'strings such as a sentence goes here'"

lists: [1,2,3] can be changed later. Lists can be created as "variable = [1,"abc",'a']" and can contain both integers (such as the 1 listed) and strings (such as the "abc" and "a").

tuples: (1,2,3) behave same as lists, but cannot be changed later. Tuples are created in the same way as a list but with the "( )" symbols instead of "[ ]".

dictionaries: {1: 'a', 2:'b',3: 'c'} can be changed later. Dictionaries are used to reference one thing to another (works sort of like a decoder ring they would give out in cereal boxes). Dictionaries are complicated, so I'm not going to get into them here.

Each of the above types can be assigned and accessed in different ways, but this was just to give you an introduction to the types.

[–] [deleted] 0 points 7 points (+7|-0) ago 

[Deleted]

0
0

[–] 4164043? ago 

Can you expand on that? Looks more like an ad, and I don't think people want to "learn Python the hard way".

0
3

[–] Sosacms 0 points 3 points (+3|-0) ago 

You can give this a try.

https://www.codecademy.com/learn/python

Then move on to a book like, O'Reilly Test Drivem Development with Python or Two Scoops of Django.

0
2

[–] CujoQuarrel2 0 points 2 points (+2|-0) ago 

I love what you can do with Python I hate the use of spaces as delimiters

0
3

[–] Drenki 0 points 3 points (+3|-0) ago 

True, I hate it as well, but it does get rid of a lot of arguments about what formatting style to follow.

0
1

[–] mama_shoe_maunda 0 points 1 point (+1|-0) ago 

edx.org's Introduction to Computer Science and Programming Using Python. The latest class has already started but perhaps you can catch up! Also, it free!

https://www.edx.org/course/introduction-computer-science-mitx-6-00-1x-6

0
0

[–] Master_Foo ago 

http://projecteuler.net/

If you want to learn Python, start by solving these problems.

0
0

[–] un_salamandre ago 

Good luck!

0
0

[–] pok3r ago 

Al Sweigart is an author with a few free books on python. Including one on making games.

load more comments ▼ (1 remaining)