Answers for "linux shell in python"

2

shell command python

import subprocess
subprocess.run(["ls", "-l"])
Posted by: Guest on June-02-2020
1

command for python shell

write python and press enter in terminal. 

A Python Prompt comprising of three greater-than symbols >>> appears.
Posted by: Guest on October-07-2021

Python Answers by Framework

Browse Popular Code Answers by Language