Any good books on python?

Discussion in 'Mac Programming' started by thekev, Feb 7, 2012.

  1. thekev
    Expand Collapse
    macrumors 603

    thekev

    Joined:
    Aug 5, 2010
    #1
    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.
     
  2. Cromulent
    Expand Collapse
    macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
  3. Mac_Max
    Expand Collapse
    macrumors 6502

    Joined:
    Mar 8, 2004
  4. danwilliams
    Expand Collapse
    macrumors member

    Joined:
    Sep 15, 2008
    #4
    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).
     
  5. thekev
    Expand Collapse
    thread starter macrumors 603

    thekev

    Joined:
    Aug 5, 2010
    #5
    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?
     
  6. danwilliams
    Expand Collapse
    macrumors member

    Joined:
    Sep 15, 2008
    #6
    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.
     
  7. wrldwzrd89
    Expand Collapse
    macrumors G4

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #7
    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.
     
  8. thekev
    Expand Collapse
    thread starter macrumors 603

    thekev

    Joined:
    Aug 5, 2010
    #9
    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.

    I'm going to look at that right now.
     
  9. thundersteele
    Expand Collapse
    macrumors 68030

    Joined:
    Oct 19, 2011
    Location:
    Switzerland
    #10
    That's a cool book :)

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

     
  10. danwilliams
    Expand Collapse
    macrumors member

    Joined:
    Sep 15, 2008
    #11
    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.
     
  11. thekev
    Expand Collapse
    thread starter macrumors 603

    thekev

    Joined:
    Aug 5, 2010
    #12
    From today on I will tell everyone to install Linux:D.
     

Share This Page