These are some short tricks for different typical work situations.
Sections
Running Python Commands in the Shell It can be useful to use Python in the Shell when some functionality is lacking. You can pass any Python code as a string to the Shell: python3 -c 'print("Hello, World")' # Output: Hello, World