codecs for Python 2
1 | # Handling Unicode: http://stackoverflow.com/a/6633040/305414 |
Still search for the documentation for the function unicode_escape_decode() in codecs.
requests.exceptions
pyquery Module
pygments Module
__version__
Read the story if you like:
https://www.python.org/dev/peps/pep-0396/
1 | import bzrlib |
That’s it.
requests_cache
requests Module
glob Module
Docs first:
https://docs.python.org/3/library/glob.html
1 | import glob |
The glob module finds all the pathnames matching a specified pattern according to the rules used by the Unix shell, although results are returned in arbitrary order.
glob.glob(pathname, *, recursive=False)
Return a possibly-empty list of path names that match pathname, which must be a string containing a path specification. pathname can be either absolute (like /usr/src/Python-1.5/Makefile) or relative (like ../../Tools//.gif), and can contain shell-style wildcards. Broken symlinks are included in the results (as in the shell).
If recursive is true, the pattern “**” will match any files and zero or more directories and subdirectories. If the pattern is followed by an os.sep, only directories and subdirectories match.
datetime Module
The topic today is datetime which makes me think of life. Maybe, music is a mataphor of life.
1 | import datetime |
Other things useless (maybe not) you could find on
https://docs.python.org/3/library/datetime.html
1 | import time |
You could always find the manual. That’s enough for today.