
Nov. 30, 2006
8:33 a.m.
Hi all, I'm invoking a python script from C# using the PythonEngine.RunSimpleString command. [BTW I couldn't figure out what RunString was for ...] Several things: First, it does not 'run' unless I remove the main definition. It crashes with that message : "AttributeError: 'module' object has no attribute 'argv'. And when I removed the main, it does nothing obviously ;-) Which leads to my question: How to pass arguments to the python script? Also, how to get its output stream and error stream? Are all this possible at all using pythondotnet? Thanx, --mike
6645
Age (days ago)
6645
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michael Niemaz