Running Python Commands in the ShellFebruary 25, 20231 min read Alimektor Python Python CheatsBashPythonRunning Python Commands in the ShellIt 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
Comments