Python Cheatsheet Basic and necessary commands needed to execute a well-defined python code at the command line. Opening a python shell. python3 Installing a package pip3 install <package-name> Running a python script python3 <filename>.py Calculating the time of execution time python3 <filename>.py