[Tutor] nested os.popen()

Jules Bravo julesbravo at gmail.com
Tue May 3 22:04:32 CEST 2005


I'm trying to create a program that can recreate the unix pipe. So basically 
I need to be able to take something like "ls *.py | du | wc" and be able to 
run it just like unix would, doing a wordcount of the du of all files that 
end with .py. My question is how would I do this without being able to 
create pipes that have both read and write capabilities.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20050503/0fe08288/attachment.htm


More information about the Tutor mailing list