tobias <tobias at topi.homelinux.org> wrote: > Hello > > How can I execute a command (like "uptime") in python, and write the > output into a variable? import os avariable = os.popen('uptime').read() Alex