sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #06112
Re: [Question #174139]: win32api
Question #174139 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/174139
RaiMan proposed the following answer:
this works in Win7
import os
dir = r"c:\folder\subfolder" # the directory containing the text file
fname = "logging.txt" # the filename of the text file
os.popen("start /D %s %s"%(dir, fname)) # using the start command
# which opens the program that is associated with the extension (.txt in this case)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.