Re: [Python.NET] How to turn on console window from Windows System while debugging Embedded PythonNet app?

2013-04-04 Thread [email protected]
It's an escape character issue. Since you are pasting source code in your source code, you need to double escape. Probably as follows: PythonEngine.RunSimpleString("execfile('c:tempa.py')"); the c# parser turns that into: execfile('c:\\temp\\a.py') And then python runs those escape c

Re: [Python.NET] How to turn on console window from Windows System while debugging Embedded PythonNet app?

2013-04-04 Thread [email protected]
What happens when you run a compiled application like mine, that has both c# and python console output, directly from within the windows command line cmd.exe? Do you see the WriteLine() results from C# but not PythonNet? That will tell you if it's an execution environment issue or an actual pr

Re: [Python.NET] I can't run test_engine.py with nPython.exe. Would you tell me why?

2013-04-04 Thread Seungweon Park
Now I'm getting different error message after I have nPython.exe which I compiled from source code. According to the comments from test_module.py, Line 209 # This should fail until System.Windows.Forms has been # imported or that assembly has been explicitly loaded.

[Python.NET] I can't run test_engine.py with nPython.exe. Would you tell me why?

2013-04-04 Thread Seungweon Park
Hi, I ran every tests from src\tests. However, I can't run runtests.py and test_module.py. test_module.py has an error message in console window and pops up "Python Console" with "Python Console has stopped working" message. Would you tell me what I need to check to run this script? It looks to