I memorized huge chunks of Python's documentation

I like that video.

I now know the function walk does not follow symlinks. :sunglasses:

my first golang lesson!

For really difficult to remember topics, creating a verse with chorus isn’t a bad idea!

One might even just rewrite well-known choruses, since, as the songwriters’ idiom goes, “Don’t bore us, get to the chorus!”

Hey am not new to memory . I just not sit down and start it. But my age tell me too
An on my 20 and need to get running edge,
AM learning python at they moment and memory techniques at same time, now am reading your post, plus i see , that i miss your zoom meet, let me know when you relasing or teaching how to us memory plc for python guide

I absolutely love the idea of looking things up only once! I’ve only dabbed with Python but I would like to get good at it. I imagine it being quite a time saver to have it all memorized for quick reference any time.

Maybe you answered this already, but how long did it take you to memorize the Standard library?

:see_no_evil: TLDR Spoiler

TLDR;
  1. Yes and.

  2. Took 5 weeks (of a lot of effort) to get to the point where I started to get the In-My-Bones feelings about the material.

Frankly, what’s shocked me is how much more I get out of having it memorized than just time savings!

Since I review the material regularly enough to keep it in the ol’ noggin, the knowledge becomes like clues in a mystery.

Like pieces of a crime scene loitering in your mind waiting for the right moment to assemble themselves into a complete story of what’s happened.

I began with the 11 methods of the list function/data-type in early December, 2023.

I didn’t memorize the arguments for those 11 methods.

And I didn’t memorize the definitions/descriptions of them either.

I only memorized the list of them by syntactic name: eg, .insert, .remove .append
—And sorta alphabetically.

Next I worked on the 70 built-in functions.

(prior in December I had spent some time feeding chatGPT plenty of documentation and questions about the functions)

The online documentation is alphabetically organized.

But there are seventy of them.

I thought I would more appreciate having almost 70 brand-new ideas organized by functionality.

A day’s worth of iterating and double checking later, I had the functions on a spreadsheet organized by groups like Logical and Mathematical Operations, Numeric and Byte Operations, String and Character Manipulation, etc.

Beau’s Python Builtin Functions by Category.csv (5.0 KB)

Again, I didn’t memorize the descriptions or details or the arguments taken (I did the arguments for them about three weeks later).

I only memorized lists of their syntactic names, organized by functionality as mentioned.

I memorized either those 70 on December 12th, 2023 or I memorized the 48 string str methods. I don’t remember which I did that day.

May it be known to God and Country that I was in the car driving back and forth around Texas for 8 hours that day.

Starting the next day, after seeing I could memorize so much in a single day, I kicked it into high gear and started memorizing everything I could in a structured way.

On December 28-30th, I took practice PCAP exams (what the Python Institute claims is an ‘Associates’ level Python certification) and passed all testing modules on the first try.

A couple I passed barely, but some I really rocked (like the Object Oriented Programming module! :fire:).

—So that’s about 3-4 weeks to get to that point.

I’d say I really got most of what I memorized (see an above post) in my bones by the end of the first week of January.

Then I switched to a heavy focus on Networking concepts and have been reviewing and persistently adding a slow drip of new Python documentation and tutorials as a side dish.

Also I sprinkle in other computer science knowledge in periodically to keep my interest and intrigue high. I’ve started on the Bash Manual.

Anyhoo, at this point, I find myself wondering about the underpinnings of the Python language itself.

I’m slowly working through a C programming book—what Python resembles under the hood—because under the hood Python is built with C.

It’s required a wild amount of effort.
That should be noted.
If it sounds like a lot of effort,
I assure you you’re correct.

Fortunate for me, I delight in the material and really dig the stimulation of comprehending the somewhat abstract conceptions of machine logic.

I mean, I have a dang good time with it is what I mean.

In terms of flavors of effort, Fun is the best one! :soft_ice_cream:

2 Likes

I mean, I think you can enjoy learning c and that’s cool. But I’d certainly not recommend to anyone that learning C would improve their Python.

1 Like

I mean, that’s fair. But I’m not recommending to anyone to learn C to improve their Python.

I’m learning C because I have things I want to understand about C. And those things happen to relate to Python.

The convenient staircase makes the descent just a little more… convenient.

1 Like

Agreed!

Here: watch this!

Enjoy!
:muscle::sunglasses:

1 Like

are you keeping track of the “what’s new in python” section and updating your palaces? What’s New in Python — Python 3.12.5 documentation

1 Like

For micro releases, no.

For minor and major releases I plan to keep up to date, but those haven’t happened yet since I memorized 3.12.1

1 Like

How did you memorize equations for the algebra 2 book?

1 Like

Man, I’m impressed by your commitment and focus! I also love the way you express yourself in detail about your process on this journey. Very creative, and a fun read!

Thank you for providing that csv file, btw! I might actually have a go at memorizing it myself.

2 Likes

We need updates, how is your journey ?

1 Like

Even though I have not yet started entering Computer Science with my mnemonics, I got really curious about how exactly do you keep encoding in the places you use and making it richer. Since I don’t have that many palaces left, - although I had good experiences with imaginary ones, I don’t think I would want to rely on them that much, at least for now - any way of putting more information in the same spot would be stellar to know about.

1 Like

@Seinfield, @Vini_Villela,

Good news and bad news.

:grinning: Good news:

  • The journey has been ripe with discoveries, and I’ve memorized so much more by now, plus, yes, I still have all the aforementioned documentation (and more) by-and-large in the exact same memory palaces I used originally located all around walks in my little town.

:rage: Bad news:

I warn you, if you click either of those links, you will find words.

Regards,
Beau

3 Likes

:rofl: love this warning - looking forward to some words

2 Likes

Hahaha, thank you! I shall read them!

1 Like

Hello, your strategy is cool, in your opinion, do you think it is possible to train your memory a lot, to be able to memorize all the programming language libraries that exist on the internet, through these techniques?

Hilarious! I love that warning too! :joy: