Message6502

Author hierynomus
Recipients hierynomus
Date 2011-04-22.13:53:15
SpamBayes Score 5.759876e-08
Marked as misclassified No
Message-id <1303480396.43.0.804386981162.issue1738@psf.upfronthosting.co.za>
In-reply-to
Content
If you want to pass arguments to a script executed by the PyScriptEngine, you need to create a PySystemState to register them in. However, far as I can see, the spec specifies that you should be able to use:
scriptEngine.put(ScriptEngine.ARGV, {"foo", "bar"});
History
Date User Action Args
2011-04-22 13:53:16hierynomussetrecipients: + hierynomus
2011-04-22 13:53:16hierynomussetmessageid: <1303480396.43.0.804386981162.issue1738@psf.upfronthosting.co.za>
2011-04-22 13:53:16hierynomuslinkissue1738 messages
2011-04-22 13:53:15hierynomuscreate