Best book to keep as reference for python?

  • Context: Python 
  • Thread starter Thread starter shivajikobardan
  • Start date Start date
  • Tags Tags
    Book Python Reference
Click For Summary
SUMMARY

The discussion centers on finding a suitable Python textbook that emphasizes exercises, both solved and unsolved, rather than a reference guide. The Python Cookbook is recommended as a good reference, but users are encouraged to explore MIT's "Introduction to Computer Science and Programming in Python" course materials, which are available under an open-source license. The course utilizes the Spyder IDE, part of the Anaconda distribution, making it accessible for Windows users. For practical coding tasks, RosettaCode.org is also suggested as a resource for comparing solutions.

PREREQUISITES
  • Basic understanding of Python programming
  • Familiarity with the Anaconda distribution and Spyder IDE
  • Knowledge of solving programming exercises
  • Access to online educational resources
NEXT STEPS
  • Explore the MIT course materials for "Introduction to Computer Science and Programming in Python"
  • Utilize RosettaCode.org for practical Python coding tasks
  • Study "The Python Cookbook" for advanced Python techniques
  • Learn about the Anaconda distribution and its tools for Python development
USEFUL FOR

Beginner to intermediate Python programmers, educators seeking exercise-based resources, and anyone looking to enhance their practical coding skills in Python.

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.
 
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.
 
  • Like
Likes   Reactions: pbuk

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 43 ·
2
Replies
43
Views
7K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 17 ·
Replies
17
Views
3K