Dino,
That makes sense, thanks for the clarification.
Regards,
Giles
--
Giles Thomas
Resolver Systems
[EMAIL PROTECTED]
We're hiring! http://www.resolversystems.com/jobs/
Dino Viehland wrote:
Another option that should work is:
class ClickListener:
def trigger(self, source, args):
Hello:
I have the next code in a file named test.py:
import sys
for i in sys.argv:
print i
when running the next command: ironpythonconsole test.py one two three four
It gets:
test.py
one
two
three
four
I could see that IP generates .exe files; it is a good thing. All programs I
made
It's just an oversight - We're not setting sys.argv in
PythonEngine.ExecuteCompiled, so we just need to do:
engine.sys.argv = List.Make(Environment.GetCommandLineArgs());
then you should get the arguments.
Thanks for the report - I'll get a bug opened on it for beta 3.
Jim, Martin and I discussed this today and we're looking at providing some
array creation functionality via the clr module. This will be different from
jarray in that you'll be able to use the raw CLR arrays w/o a wrapper. We
would then make slicing work on arrays by making them appear as
2006/2/1, Sanghyeon Seo [EMAIL PROTECTED]:
I coded fake Python socket module for IronPython. Here it is (65 lines):
http://sparcs.kaist.ac.kr/~tinuviel/devel/fepy/socket.py
I now moved this. Sorry for inconvinience.
http://sparcs.kaist.ac.kr/~tinuviel/fepy/lib/
Also added DNS functions from