pipes like perl

infidel saint.infidel at gmail.com
Wed Aug 24 21:59:20 CEST 2005


> but... i see it doesn't work for some commands, like "man python" (it
> gets stuck on the "if" line)...

.readlines() won't return until it hits end-of-file, but the "man"
command waits for user input to scroll the content, like the "more" or
"less" commands let you view "pages" of information on a terminal.




More information about the Python-list mailing list