Python Best book to keep as reference for python?

AI Thread Summary
The discussion centers on finding a Python textbook that emphasizes practical exercises, both solved and unsolved, rather than serving as a mere reference guide. Recommendations include the Python Cookbook and resources from MIT's Introduction to Computer Science and Programming in Python course, which offers a variety of exercises. The conversation also touches on the importance of using accessible tools like the Spyder IDE, part of the Anaconda distribution, for beginners. Additionally, there is a brief diversion into programmer culture, highlighting the preference for universally available tools like vi over more complex editors like Emacs, illustrating a broader theme of practicality in programming.
shivajikobardan
Messages
637
Reaction score
54
TL;DR Summary
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.
 
Technology news on Phys.org
You can checkout RosettaCode.org for many tasks to write in Python. In addition, there are examples of python code to compare your code to once you complete a task.
 
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.
 
pbuk said:
what's the meaning of this? Pardon if I can't restart an old thread.
 
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.
 

Similar threads

Replies
3
Views
2K
Replies
3
Views
2K
Replies
42
Views
5K
Replies
4
Views
2K
Replies
8
Views
2K
Replies
6
Views
2K
Replies
17
Views
3K
Back
Top