PDA

View Full Version : Any good books on python?




thekev
Feb 7, 2012, 02:39 AM
Can anyone suggest any reasonably comprehensive books on python? I'm not sure where to start. I already did a search before starting a thread on this.



Cromulent
Feb 7, 2012, 04:43 AM
Here are some free and legal online Python book that you might find useful:

http://learnpythonthehardway.org/book/
http://openbookproject.net/thinkcs/python/english2e/

Mac_Max
Feb 7, 2012, 09:16 AM
+1 for Learn Python the Hard Way.

danwilliams
Feb 7, 2012, 10:49 AM
When you do run into a problem and can't solve it, "google" for the solution. If there is a link to the stackoverflow.com site, definitely look at that link. I have found that site to be an excellent source with problem solving (with any language).

thekev
Feb 7, 2012, 02:02 PM
Thanks guys. I'm going to try those sites. Learn python the hard way looks cool. I hate anything simplified. It just causes problems later on. Anyone have experience with python in maya?

danwilliams
Feb 8, 2012, 08:43 AM
I realize you are just beginning but try to remember this for the future.

There are very powerful libraries for Python. Either built-in to base Python or third-party libraries. For example, the PIL (Python Imaging Library) is an extremely powerful image processing library that probably covers everything you need in regards to 2-D images and processing.

The bottom line is, check to see if a library can fulfill your requirements before rolling your own implementation.

wrldwzrd89
Feb 8, 2012, 08:56 AM
I realize you are just beginning but try to remember this for the future.

There are very powerful libraries for Python. Either built-in to base Python or third-party libraries. For example, the PIL (Python Imaging Library) is an extremely powerful image processing library that probably covers everything you need in regards to 2-D images and processing.

The bottom line is, check to see if a library can fulfill your requirements before rolling your own implementation.
Seconded! There are literally TONS of Python extension libraries that fill most of the common needs. The only problem: Many of them aren't yet 64-bit ready, Python 3-compatible, or both.

ixodes
Feb 8, 2012, 09:08 AM
These are excellent:

http://oreilly.com/python/index.html

thekev
Feb 8, 2012, 01:14 PM
I realize you are just beginning but try to remember this for the future.

There are very powerful libraries for Python. Either built-in to base Python or third-party libraries. For example, the PIL (Python Imaging Library) is an extremely powerful image processing library that probably covers everything you need in regards to 2-D images and processing.

The bottom line is, check to see if a library can fulfill your requirements before rolling your own implementation.

Thank you. My concerns are somewhat application specific, but I wanted to understand it well enough to prevent getting stuck on stupid things. I really don't do much in the way of scripting currently, and my programming knowledge is dismal.

These are excellent:

http://oreilly.com/python/index.html

I'm going to look at that right now.

thundersteele
Feb 8, 2012, 06:15 PM
Here are some free and legal online Python book that you might find useful:

http://learnpythonthehardway.org/book/

That's a cool book :)

I just read through exercise 0. The following quotes are great:

A programmer may try to get you to install Python 3 and learn that. You should tell them, "When all of the python code on your computer is Python 3, then I'll try to learn it." That should keep them busy for about 10 years.

A programmer will eventually tell you to use Mac OSX or Linux. If the programmer likes fonts and typography, they'll tell you to get a Mac OSX computer. If they like control and have a huge beard, they'll tell you to install Linux. Again, use whatever computer you have right now that works. All you need is gedit, a Terminal, and python.

danwilliams
Feb 9, 2012, 07:40 AM
A programmer may try to get you to install Python 3 and learn that. You should tell them, "When all of the python code on your computer is Python 3, then I'll try to learn it." That should keep them busy for about 10 years.

Where I work we have been "poised" to jump to Python version 3 for some time now. The reason we are still with 2.x is exactly the quote above. That is, not all the libraries we use are there yet.

I realize the original poster is just learning Python but I hope these discussions we are having now help in the future.

thekev
Feb 9, 2012, 08:04 AM
That's a cool book :)

I just read through exercise 0. The following quotes are great:

From today on I will tell everyone to install Linux:D.

themacster298
Feb 9, 2012, 11:27 AM
Watch these tutorials: http://www.youtube.com/watch?v=4Mf0h3HphEA&feature=list_related&playnext=1&list=SPEA1FEF17E1E5C0DA