Best book to keep as reference for python?

  • Context: Python 
  • Thread starter Thread starter shivajikobardan
  • Start date Start date
  • Tags Tags
    Book Python Reference
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 3K views
shivajikobardan
Messages
637
Reaction score
54
TL;DR
book for python with exercises and as a reference
1) Basic python only no data science or machine learning or game development.
2) I have CS experience and some programming experience but I am really bad programmer, so you can discount my programming experience. But I can learn cs concepts on the go.
3) Contains lots of solved and unsolved exercises.
 
Physics news on Phys.org
shivajikobardan said:
I missed my point. I want sth like a python textbook that has lots of exercises solved and unsolved. Not actually for a reference.
There are sets of solved and unsolved problems here: https://ocw.mit.edu/courses/electri...-science-and-programming-in-python-fall-2016/

It is probably worth looking at all the materials on that course (which are provided under an open source license by MIT), they might be just what you want. I believe this course uses the Spyder IDE, which is provided as part of the Anaconda distribution, another good way to get started if you are on Windows.
 
This cartoon is a mashup of programmer lore where each programmer tries to one up the other.

I once saw a programmer using vi on unix to do some edits and asked why he didnt use the supereditor Emacs withh all its cool functionality and lisplike macros.

He said simply vi is everywhere ie it is on every unix platform whereas emacs is optional so why learn an editor that may not be installed.

The butterfly effect is how small changes can result in catastrophic effects.

The cosmic rays story was a discovery that those random bit flips that some computers inexplicably experienced were a result of cosmic rays.

The ultimate one up was the butterfly effect from chaos theory and then the cosmic rays flipping a bit to produce the result only to get back to emacs already having that capability.

There used to be a one up styled show where contestants would challenge one another in naming a song. One would say i can name it in six notes and another would say i can name it in five notes.

Finally, someone would say name that song and they'd play the first n notes. The winner was the one who named the song.
 
Reply
  • Like
Likes   Reactions: pbuk