← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #159974]: Grabbing command output

 

Question #159974 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/159974

    Status: Open => Answered

Tsung-Hsiang Chang proposed the following answer:
You need Python's popen.

----
import os

date = os.popen("date")
print date.readline()

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.