Calling an external command in python?
Answer / Ranjana
In Python, you can call an external command using the subprocess module. The subprocess.call() function runs a shell command and waits for it to finish.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can we use python in linux?
Do sheeps sleep?
What are data frames, exactly?
When do you use list vs. tuple vs. dictionary vs. set?
What are all the operating system that python can run on?
Explain what is decorator?
What does the map() function do?
How to save an image locally using python whose url address I already know?
What is the necessity to use pass statement in python program?
What are the different types of reuest in python?
Is init in python a constructor?
Where is python best used?