Recommended Python Books for Beginner Programmers

  • Context: Python 
  • Thread starter Thread starter Arman777
  • Start date Start date
  • Tags Tags
    Books Python
Click For Summary

Discussion Overview

The discussion revolves around recommendations for Python programming books and resources suitable for beginners, particularly from the perspective of a physics student. Participants share various sources, including free online materials and specific titles, while expressing their preferences and experiences with different learning resources.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant seeks recommendations for Python learning resources after completing a school course, expressing a desire to learn more about programming techniques and numerical analysis.
  • Several participants suggest "Computational Physics with Python" as a free resource, although access issues are noted by some.
  • Another participant mentions a preference for free online resources over purchasing books, indicating a belief that ample material is available online.
  • One participant recommends "Think Python" and shares positive experiences with other titles like "Think Bayes" and "Think Complexity," while also mentioning a new book on modeling and simulation.
  • Another participant suggests "Learning Python" by Mark Lutz as a comprehensive resource, emphasizing its depth and suitability for those interested in programming concepts beyond the basics.
  • Concerns are raised about the level of detail in "Learning Python," with one participant expressing that it may be too detailed for their needs, preferring "Think Python" for its focus on core ideas.
  • Participants discuss the utility of debugging tools, with one noting the absence of mention of the Python debugger (PDB) in "Think Python" and reflecting on their own experiences with debugging.
  • There is a suggestion that "Learning Python" is beneficial for beginners, but some participants feel it may be too slow-paced or detailed for their current level of understanding.
  • Another participant mentions "A Python Book" as a potential resource that could be useful for beginners.

Areas of Agreement / Disagreement

Participants express a mix of agreement and disagreement regarding the suitability of different resources. While some recommend specific books, others question their level of detail and appropriateness for beginners. The discussion reflects varied preferences and experiences without reaching a consensus on a single best resource.

Contextual Notes

Some participants express uncertainty about the appropriateness of certain resources based on their individual learning styles and backgrounds. There are mentions of varying levels of detail in recommended books, which may affect their usefulness for different learners.

Arman777
Insights Author
Gold Member
Messages
2,163
Reaction score
191
Hey all, I think most of you know me and probably this question will sound silly but anyways, I am learning python over a 3 month now and The course in the school is over and there will no other course. I want to learn more and is there any source you can recommend me.

What I know:
1-I know the simple commands like for,while,if
2-I know how to write functionsThis is kind of all I mean in coding I use these , actually that's what is mostly used (I guess). But I want to learn more about the technic of it. For example simple tips or shortcuts or writing more efficient.
Other then that numerical analysis or more about the math stuff of the python

Nearly a month ago someone recommend me Project Euler and I am doing them so far. But I think I need to practice more and try to learn more. Any books/online sources that can you guys can recommend me ?

I know there are lots of books but like for a physics student what you can recommend ?

I ll also ask this question to my professor.
 
Technology news on Phys.org
Arman777 said:
I can't open it
It should work now.
 
Is this the one?

http://www.fizika.unios.hr/rf/wp-content/uploads/sites/67/2011/02/CPwP.pdf

Personally I wouldn't spend money on books for Python, there's loads of stuff online.
 
  • Like
Likes   Reactions: Arman777
Any other resorces not necessary applied to physics, but to general programming with Python?
 
almarpa said:
Any other resorces not necessary applied to physics, but to general programming with Python?
Yeah sure that would also be great. It doesn't have to be neceserrily on physics
 
DrClaude said:
A nice, free resource is Computational Physics with Python.

Edit: link fixed.
I really liked it definitely will check out.
cobalt124 said:
Is this the one?

http://www.fizika.unios.hr/rf/wp-content/uploads/sites/67/2011/02/CPwP.pdf

Personally I wouldn't spend money on books for Python, there's loads of stuff online.

I liked this one too. I am not sure which one would be better for me tho
 
I like the Free Books from Allen Downey, available here:

https://greenteapress.com/wp/

in particular you may enjoy Think Python.

I liked Think Bayes when a I read it a little while back. Think Complexity is pretty decent.

- - - -
There's a newish one I haven't checked out called

Modeling and Simulation in Python

"Models of discrete systems, like population growth, first-order systems, like epidemics and thermal systems, and second-order systems, like mechanical systems. For people who have not programmed before."

sounds potentially interesting
 
  • Like
Likes   Reactions: Arman777
  • #10
StoneTemplePython said:
Think Python.
This looks great! Thanks I ll look other one later I guess
 
  • #11
I would recommend Learning Python by Mark Lutz. It is a content-rich book if you are interested in programming with Python i.e. not just using the fundamentals.
A good free book in a CS context i.e. presenting Python along with problem solving, algorithms and data structures is http://interactivepython.org/runestone/static/pythonds/index.html one.
For Python resources I would recommend Deitel's Python Resource Center.
 
  • Like
Likes   Reactions: Arman777
  • #12
It will be a long summer for me :)
QuantumQuest said:
I would recommend Learning Python by Mark Lutz. It is a content-rich book if you are interested in programming with Python i.e. not just using the fundamentals.
A good free book in a CS context i.e. presenting Python along with problem solving, algorithms and data structures is http://interactivepython.org/runestone/static/pythonds/index.html one.
For Python resources I would recommend Deitel's Python Resource Center.
Learning python also seems really nice. I ll definitely check I guess I should start with the learning python rather then the think python ?
 
  • #13
StoneTemplePython said:
in particular you may enjoy Think Python.
I just downloaded the PDF, and have very briefly scanned parts of it. One section that I spent a bit more time on was the chapter on debugging. I'm surprised he doesn't mention PDB, the Python debugger. It's pretty primitive, but useful nonetheless.

When I was teaching myself Python a couple of years ago, I put together a two-part Insights article on how to use many of the features of the built-in debugger.
https://www.physicsforums.com/insights/simple-python-debugging-pdb-part-1/
https://www.physicsforums.com/insights/simple-python-debugging-pdb-part-2/
 
  • #14
Mark44 said:
I just downloaded the PDF, and have very briefly scanned parts of it. One section that I spent a bit more time on was the chapter on debugging. I'm surprised he doesn't mention PDB, the Python debugger. It's pretty primitive, but useful nonetheless.

When I was teaching myself Python a couple of years ago, I put together a two-part Insights article on how to use many of the features of the built-in debugger.
https://www.physicsforums.com/insights/simple-python-debugging-pdb-part-1/
https://www.physicsforums.com/insights/simple-python-debugging-pdb-part-2/

Yea, you can get surprisingly far on even more primitive things like print statements, but at some point will need to use the debugger. I kind of think using the debugger is too much machinery for a brand new programmer (as opposed to someone who's just new to the language).
 
  • #15
Arman777 said:
...I guess I should start with the learning python rather then the think python ?

Well, I think that this would be a good idea as Learning Python starts from fundamentals about Python, Python interpreter, how to run programs on a machine etc. and goes on in a sufficiently detailed way regarding programming with Python itself. Of course, you may choose starting from another book / resource as there is a whole lot of great books about this language but the good thing about "Learning Python" is that it has a lot of stuff gathered together.
 
  • #16
QuantumQuest said:
Well, I think that this would be a good idea as Learning Python starts from fundamentals about Python, Python interpreter, how to run programs on a machine etc. and goes on in a sufficiently detailed way regarding programming with Python itself. Of course, you may choose starting from another book / resource as there is a whole lot of great books about this language but the good thing about "Learning Python" is that it has a lot of stuff gathered together.
I ll try to look at it first starting from tomorrow, we will see but yes in the comments in the amazon they are saying its a dictionary
 
  • #17
I start to read learning python until to chapter 4. I think it has unnecessary details for me and it takes too long to express the ideas. Like if statements starts at page 371 ? I ll start to read think python it seems more nice and giving just the core ideas or details. Like Learining python would be good if someone studying a computer engineering but I don't think I would need such detailed description.
 
  • #18
Arman777 said:
I start to read learning python until to chapter 4. I think it has unnecessary details for me and it takes too long to express the ideas. Like if statements starts at page 371 ? I ll start to read think python it seems more nice and giving just the core ideas or details. Like Learining python would be good if someone studying a computer engineering but I don't think I would need such detailed description.

As I said in post #15 Learning Python starts from the very fundamentals and builds things up at a relatively slow pace but it has a wealth of knowledge and you can always skip things you know and go to what is unknown / more interesting to you. I did this recommendation because as you have said you are at the beginner level. Think Python is also a good book and if you find that it fits better your learning objectives / style then it is a good choice for sure. Also, you can take a look at A Python Book: Beginning Python, Advanced Python, and Python Exercises. I think that you'll find some useful stuff in it.
 
Last edited:
  • Like
Likes   Reactions: Arman777

Similar threads

  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K