[PYTHON] One liner to hit if you forget where today is

Well with a story.

Where is today?


$ python -c "from calendar import TextCalendar as c;from datetime import datetime as d;import re;print(re.compile(r'(\s+)({})(\s+)'.format(d.today().day)).sub(r'\1\033[92;4m\2\033[0m\3', c().formatmonth(*d.today().timetuple()[0:2])))"

Desktop calendar? I don't know

Recommended Posts

One liner to hit if you forget where today is
One liner to talk somewhere
[Blender] Script to check if the selected one is a mesh
What to do if you forget your login password on Manjaro Linux
Workaround if you cannot add to LD_LIBRARY_PATH
AssertNumQueries is useful if you want to easily test N + 1 queries with django
[OpenCV] When you want to check if it is read properly with imread
I'm new to Python. Could you please tell me where the error is?
If you want to enter the virtual environment with jupyter, nb_conda_kernels is recommended
If you try to install Python2 pip after installing Python3 pip and it is rejected