Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How do I learn Python?

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
User avatar
renatov
Posts: 150
Joined: 2010-09-19 20:35
Location: Brasil

How do I learn Python?

#1 Post by renatov »

How do I learn Python? Is there any famous / extremely good book or other sort of material that I should use?

I have intermediate programming knowledge and I already do some intermediate stuff in C. But due to some academic demands, I must learn Python, and I need to do it fast. Withing a couple of months from now I must be an advanced Python programmer and I'm here seeking some guidance.


ps: I learnt C all by myself in a few months with Deitel's "C how to program" and I'm looking for some good stuff like this for Python.
Xubuntu 14.04
Usuário #517613

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

Re: How do I learn Python?

#2 Post by vbrummond »

I believe I learned by reading Byte Of Python. http://swaroopch.com/notes/Python/

Though I learned pygtk by 'doing'. Making example programs and refining them. You might also look into an IDE such as Geany.
Always on Debian Testing

User avatar
nadir
Posts: 5961
Joined: 2009-10-05 22:06
Location: away

Re: How do I learn Python?

#3 Post by nadir »

From what i have heard:
what was said in the previous post
python the hard way (C the hard way should be called "C the boring way")
thenewboston channel at youtube
http://docs.python.org/tutorial/
The last one would be the one i would go for, i guess (as long i could say: "Within a couple of months from now I must be an advanced Python programmer").

If you learned C in a couple of months you should be able to learn python in an afternoon :-)
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.

User avatar
renatov
Posts: 150
Joined: 2010-09-19 20:35
Location: Brasil

Re: How do I learn Python?

#4 Post by renatov »

Do these materials cover all aspects on Python language? I need something that covers all the language, from basic till advanced.
Xubuntu 14.04
Usuário #517613

User avatar
nadir
Posts: 5961
Joined: 2009-10-05 22:06
Location: away

Re: How do I learn Python?

#5 Post by nadir »

If it was me i would worry about "everything" once i have mastered the tutorial. Anyway:
http://docs.python.org/3/
If that is still not enough of "everything" for you, then i got no better idea.
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.

User avatar
renatov
Posts: 150
Joined: 2010-09-19 20:35
Location: Brasil

Re: How do I learn Python?

#6 Post by renatov »

What I meant is that I am looking for some material that covers, by itself, everything about this language. If I could choose, I would rather not read multiple things. Well, thanks for your help, I'll read the official tutorial.

C'ya!
Xubuntu 14.04
Usuário #517613

User avatar
levlaz
Posts: 179
Joined: 2012-09-27 12:06
Location: San Francisco, CA

Re: How do I learn Python?

#7 Post by levlaz »

Check out some of the free online courses on Coursera and EdX -- both have awesome Python based programming classes.

After you get the fundamentals down, the world is yours.
Best,

Lev
Blog

User avatar
renatov
Posts: 150
Joined: 2010-09-19 20:35
Location: Brasil

Re: How do I learn Python?

#8 Post by renatov »

levlaz wrote:Check out some of the free online courses on Coursera and EdX -- both have awesome Python based programming classes.

After you get the fundamentals down, the world is yours.
Coursera and EdX look really good, but there are no current basic python courses on schedule. Is there a way of viewing past courses?
Xubuntu 14.04
Usuário #517613

User avatar
heminder
Posts: 75
Joined: 2012-12-07 05:13
Location: /home

Re: How do I learn Python?

#9 Post by heminder »


niuzeta
Posts: 36
Joined: 2013-02-19 21:17

Re: How do I learn Python?

#10 Post by niuzeta »

the official python documentation should be all you need to get you going.

TutorIndia
Posts: 3
Joined: 2013-02-06 16:39

Re: How do I learn Python?

#11 Post by TutorIndia »

Here are some online resources for learning Python

1. The Python Tutorial
2. Wiki-Book
3. Byte of Python
4. Building Skills in Python Version 2.5
5. Python Free Online Ebooks
6. Python Bibliotheca
7. Think Python
8. Data Structures and Algorithms in Python
9. How to Think Like a Computer Scientist: Learning with Python
10. Python for Fun
11. Invent Your Own Computer Games With Python
12. Learn Python The Hard Way
13. Thinking in Python
14. Snake Wrangling For Kids

For Django you can refer


The Django book
What I suggest is

The Python Tutorial

Wiki-Book
The Django Book
Also check out some video from youtube :o

charles.fox
Posts: 7
Joined: 2013-05-17 13:54

Re: How do I learn Python?

#12 Post by charles.fox »

I first learned from the tutorial on Python's own site, it was really good.

Work though as much as you need then dive into trying to build something real as soon as you can. (There's a library pygame which can be fun if you want to build beginners game-like programs.)

static0verdrive
Posts: 2
Joined: 2013-05-30 19:25

Re: How do I learn Python?

#13 Post by static0verdrive »

My friend (who didn't know the first thing about programming) is teaching himself python through the free codeacademy.com and doing very well. Check out http://www.codecademy.com/tracks/python

User avatar
renatov
Posts: 150
Joined: 2010-09-19 20:35
Location: Brasil

Re: How do I learn Python?

#14 Post by renatov »

TutorIndia wrote:Here are some online resources for learning Python

1. The Python Tutorial
2. Wiki-Book
3. Byte of Python
4. Building Skills in Python Version 2.5
5. Python Free Online Ebooks
6. Python Bibliotheca
7. Think Python
8. Data Structures and Algorithms in Python
9. How to Think Like a Computer Scientist: Learning with Python
10. Python for Fun
11. Invent Your Own Computer Games With Python
12. Learn Python The Hard Way
13. Thinking in Python
14. Snake Wrangling For Kids

For Django you can refer


The Django book
What I suggest is

The Python Tutorial

Wiki-Book
The Django Book
Also check out some video from youtube :o
This is an excelent treasure guide, thanks dude! :D

I learnt Python using their official tutorial. That material is great! Lately, I found out that Python official Tutorial is incomplete, so I complemented my initial study with some specific further readings. I think Python Official Tutorial's main flaw is the objetc oriented programming part, it's very incomplete and it's not intended for newbie programmers in OOP paradigm. This tutorial helped me the most in this issue:

http://www.voidspace.org.uk/python/articles/OOP.shtml

When I was choosing a GUI for my Python programs, I found out wxWidgets to be the best for what I need, since I'm looking for a cross platform GUI with native API compatibility. I've been reading some wxPython material in their official tutorial:

http://wiki.wxpython.org/How%20to%20Learn%20wxPython

I really don't recommend thenewboston Youtube channel. That guy uses poor programming strategies and styles - at least for Python. I learnt Python's official programming style by reading PEP8:

http://www.python.org/dev/peps/pep-0008/

I must say that I really love Python! Programming in Python makes me happy :D

Lately I've been interested in learning Django. I'll look for this "The Django book". If you have more advices, please let me now. Thanks for all the help so far!
Xubuntu 14.04
Usuário #517613

bradhog
Posts: 17
Joined: 2013-12-26 10:03

Re: How do I learn Python?

#15 Post by bradhog »

You can learn this language online or join any good institute. I suggest you to join institute. Don't go for online training.

User avatar
renatov
Posts: 150
Joined: 2010-09-19 20:35
Location: Brasil

Re: How do I learn Python?

#16 Post by renatov »

bradhog wrote:You can learn this language online or join any good institute. I suggest you to join institute. Don't go for online training.
Although I'm currently a master degree student, I don't really like taking classes, I prefer the "learn by yourself" style... when I find a good book and a good chair, I feel confident to learn anything :D
Xubuntu 14.04
Usuário #517613

Post Reply