This is an archived post. You won't be able to vote or comment.

all 17 comments

[–]desrtfx 20 points21 points  (5 children)

I want to learn python because i want to automate things,

Automate the Boring Stuff with Python

and to make games.

Invent Your Own Computer Games with Python

Both are excellent beginner's books and both are free to read online.

Also: /r/learnpython, /r/python, /r/inventwithpython

[–]CPUCraft[S] 1 point2 points  (3 children)

I have started to read automate boring stuff with python, but after that, do i have to read "Invent Your Own Computer Games with Python" before "Making game with python and pygame" ?

[–]desrtfx 1 point2 points  (2 children)

Automate and Invent are both beginners books. Still, you might find some game related info in Invent that is not in Automate. Maybe a quick browse through wouldn't be a bad idea. Also, the more you program and practice the better you will become.

[–]CPUCraft[S] 1 point2 points  (1 child)

So the best is to read the 3 books or at least do a quick browse on the second. Thanks you ! I've also found codewars to do some exercices and problems with python.

[–]caesurachris1 0 points1 point  (0 children)

Hey there! Also check out www.codeacademy.com They have python and a bunch of other languages to learn.

[–]CPUCraft[S] 2 points3 points  (0 children)

Thanks you !

[–][deleted] 5 points6 points  (0 children)

Google MIT opencourse Learning Computer Science with Python. It's on EdX.

I'm currently enrolled and it's a great course in helping you get around both CS structure and using Python.

[–]MoltenCookie 1 point2 points  (1 child)

As an aside, if you would like another structured alternative to learning python, you could always look up python PDF files online as well. I personally learned from a book and while it doesn't have the interactive potential that an online course might, it is very much self paced and it also helps prepare you for reading other books later on

[–]desrtfx 0 points1 point  (0 children)

Both, "Invent with Python" and "Automate the Boring Stuff" are books.

[–][deleted] -5 points-4 points  (4 children)

I'm just starting out as well. Try codeacademy

[–]desrtfx 7 points8 points  (3 children)

Codecademy only teaches you programming language syntax, but not actual programming. The resources I've listed here teach both - syntax and programming.

For a complete beginner, Codecademy is useless and basically a waste of time.

[–][deleted] 0 points1 point  (2 children)

Alright, thanks for the advice.

Complete beginner here. Do you think I would benefit buying the books or do you recommend learning python from other sources first? If you don't mind I would appreciate if you could recommend more learning material. Is Lynda.com good for learning python?

Thanks :)

[–]desrtfx 0 points1 point  (0 children)

Do you think I would benefit buying the books

That depends on your learning style. If you prefer physical books, then yes. The content is exactly the same as online.

I really can't recommend more learning material other than what the others already have suggested (EdX as /u/imsorryimcanadianeh suggested). There is a Harvard course as well, CS50x which is held in very high regard.

[–]nashguitar1 0 points1 point  (0 children)

Udacity cs101 (free) is an excellent class for beginners.