Python Recommended Python Books for Beginner Programmers

  • Thread starter Thread starter Arman777
  • Start date Start date
  • Tags Tags
    Books Python
AI Thread Summary
The discussion centers around recommendations for learning Python after completing an introductory course. The user has a basic understanding of Python, including control structures and functions, and seeks resources to deepen their knowledge, particularly in numerical analysis and programming techniques. Project Euler is mentioned as a current practice tool, and several free and paid resources are suggested, including "Computational Physics with Python," "Think Python," and "Learning Python" by Mark Lutz. The conversation highlights the importance of choosing resources that align with the user's learning style, with some participants noting that "Learning Python" may be too detailed for beginners, while "Think Python" could be more suitable for grasping core concepts. Additional resources like online courses and interactive platforms are also recommended, emphasizing the abundance of free materials available for learning Python.
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 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 definately 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 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 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 definately 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 Arman777

Similar threads

Replies
10
Views
3K
Replies
3
Views
2K
Replies
3
Views
2K
Replies
7
Views
2K
Replies
2
Views
2K
Replies
4
Views
3K
Replies
8
Views
2K
Replies
6
Views
2K
Back
Top