← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #185822]: Extracting system information using python _winreg --- not supported by Jython

 

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

RaiMan proposed the following answer:
@maroz
on a command line:
tasklist /v /fo /csv

to see how the output looks like

from a script (version 1.0.1+):

out = run("tasklist /v /fo /csv")
for line in out.split("\n"):
    line = line.strip()
    print line
    items = line.split(";")
    for item in items:
        print item.strip()

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