What is the process to run sub-process with pipes that connect both input and output?
Answer Posted / siva kumar reddy dandu
try to use subprocess module
x = subprocess.popen(command)
x.read()
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Are sets hashable python?
How do you perform pattern matching in python?
What is raise keyword do in python exception handling?
How to pass optional or keyword parameters from one function to another in python?
Do you know what is lambda in python?
Do they know a tuple/list/dict when they see it?
What is ord () in python?
Do sets, dictionaries and tuples also support comprehensions?
How do you get all values from a python dictionary?
What is the use of assertions in python?
Differentiate between the append() and extend() methods of a list?
What is a python constant?
How will you remove the last object from a list?
Give an example of shuffle() method?
What is the encapsulation?