Every time I come back to Python from the land of Perl here at work, I need to re-learn how to use regular expressions in Python, as it is, IMHO, quite a bit different from Perl. Rather than trawling through the docs again, I made some online notes this time. Hope it is useful to somebody.
Am trying to catch up with Python where I left off years ago. What have they done to the language when I was gone? It is no longer the simple language as before. The decorator syntax looks so .. well, Perlish. List comprehensions, in some ways very inappropriately named, took a few moments to sink in. It is great that it is concise, but then .. so was Perl! Look where it got “them” - Concise Perl programs looks not too different from a binary file open in a text editor.