← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #167400]: How to capture Command line argument in sikuli

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
use sys.argv

sys.argv
The list of command line arguments passed to a Python script. argv[0] is the script name (it is operating system dependent whether this is a full pathname or not). If no script name was passed to the Python interpreter, argv[0] is the empty string.

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