sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #28541
Re: [Question #255254]: File not opening in program
Question #255254 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/255254
Status: Open => Answered
Eugene S proposed the following answer:
Hi,
Take a look at Python documentation in regards to how to open a file:
https://docs.python.org/2/library/functions.html#open
You must pass at least the 2 following values to "open":
1. name - file name to be opened
2. mode - string indicating how the file is to be opened
Follow the below link to choose a mode best suitable for your need.
http://www.manpagez.com/man/3/fopen/
Cheers,
Eugene
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.