os module question

Rasputin noone at nowhere.net
Sat Mar 27 23:16:59 EST 2004


On the bash shell if I type "fortune -f" it outputs:
___% /usr/share/games/fortunes
    ___% zippy
    ___% fortunes
    ___% fortunes2-o
    ___% limerick-o
    ___% startrek
    ___% fortunes2
    ___% unamerican-o
    ___% fortunes-o
    ___% linuxcookie

When I type os.system("fortune -f") in python it outputs:
___% fortunes
''

How do I bypass it and get the orginal output?



More information about the Python-list mailing list