Calling an external command in python?



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

Post New Answer

More Python Interview Questions

Can we use python in linux?

1 Answers  


Do sheeps sleep?

1 Answers  


What are data frames, exactly?

2 Answers  


When do you use list vs. tuple vs. dictionary vs. set?

1 Answers  


What are all the operating system that python can run on?

1 Answers  


Explain what is decorator?

1 Answers  


What does the map() function do?

1 Answers  


How to save an image locally using python whose url address I already know?

1 Answers  


What is the necessity to use pass statement in python program?

1 Answers  


What are the different types of reuest in python?

1 Answers  


Is init in python a constructor?

1 Answers  


Where is python best used?

1 Answers  


Categories