Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is split used for?

775


What is the difference between ‘match’ and ‘search’ in python?

766


How do you avoid cyclic imports without resorting to imports in functions?

783


What is a dictionary in python?

902


Does python interact with database?

886


Do you know what the difference between lists and tuples is? Can you give

862


Can we use singleton functionality without making a singleton class in Python?

802


How do you break in python?

778


What is the most "pythonic" way to iterate over a list in chunks?

771


Write a program in python to check if a number is prime.

816


Explain identity operators in python?

818


How do you get the last value in a list or a tuple?

809


What is static in python?

823


Explain the interpretation in python?

838


How will you remove all leading and trailing whitespace in string in python?

795