Funny: How to rememer some Python methods

I use SciTE to do most of my Python (and everything else) programming, but I usually don't have the autocompletion turned on so I have to memorize all the commands that I use (or look it up in the help).
One of these functions is "strip()" which I confuse sometimes with "trim()". But then I though, of course Python is a sexy language - so it would use "strip".
I use the same idea to remember if it's re.search() or re.find(). There is to "strip find"...

Comments

Popular posts from this blog

Shortest Sudoku solver in Python

Seven Segment Display in Inkscape