Perl-like backtick in Python

Erik Max Francis max at alcyone.com
Thu May 2 18:27:44 EDT 2002


Tom Verbeure wrote:

> That would be very ugly, wouldn't it?

Uh, why?

	lines = os.popen("ls -l").readlines()

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ Life is one long process of getting tired.
\__/ Samuel Butler
    Interstelen / http://www.interstelen.com/
 A multiplayer, strategic, turn-based Web game on an interstellar scale.



More information about the Python-list mailing list