Decided to learn PHP, Python. Lots of topic/books are there, but don't know which are latest/newbie friendly.
Need your help..
Decided to learn PHP, Python. Lots of topic/books are there, but don't know which are latest/newbie friendly.
Need your help..
For Python, DiveIntoPython is good, and there is another thread asking for that.
For Php, take a look this thread
My favorite introduction-to-Python book is Learning Python. I learned Python from an earlier edition of that book. It teaches the language, but also teaches why things are the way they are, and teaches some of the common idioms and why they are used.
EDIT: Here is the Amazon URL for the book. I suggest using the "Look Inside!" feature to preview the table of contents and first chapter.
EDIT: Okay, here are some shorter references.
Overall, I liked Python: Visual QuickStart Guide (2nd Edition). (You want the Second Edition because the First Edition is years old and very out of date.) It quickly covers the basics in Python, barely scratches the topic of object-oriented programming, and I don't think it teaches you the idioms. It teaches Python 3.x only, with little or no mention of differences between 3.x and 2.x. Maybe if you read this you will be more interested in Learning Python. (But I hate to learn things twice. IMHO it's more interesting to learn something thoroughly once, than to learn it sketchily once and then try to go back and fill in the missing details. Maybe that's just me.)
Also, here is an online tutorial that I was introduced to in an answer here on Stack Overflow: A Byte of Python
If you're planning on starting with Python 3, then I recommend Programming in Python 3. This is a well-structured, concise and practical introduction to Python 3 without any ballast from earlier versions. Also, it contains some very good (and actually useful) example programs.
Dive in Python 3 is also very good, but assumes some more prior knowledge.
If you're ok with something that isn't a book, I can highly recommend the official Python tutorial which is excellent. It's how I learned Python.
I taught Python at the university, and I had to ask myself the same question, when I prepared my class. There are some great online resources, for learning Python. Online resources have the advantage of being more up-to-date than books, which always become partially obsolete.
I would recommend that people who do not really know how to program read the following online books (in the given order):
People who know how to program can use the following references:
Whether you are a seasoned programmer or a complete newbie, some references are important to bookmark, and keep handy: it is important to know that they exist, and what information they give access to:
More general and important resources include: