combining a C# GUI with Python code?

Gerard Flanagan grflanagan at yahoo.co.uk
Sat May 20 04:45:59 EDT 2006


John Salerno wrote:
> Is it possible to construct a C# form (using Visual Studio) but write
> only Python code for the events? Is there some way to tell your program
> to run Python whenever code is run, since it will be all Python code
> (e.g. for button presses, etc.)?
>
> I know it's sort of silly, and it makes your program depend on .NET, but
> it would be a nice and easy way to create a GUI while still writing in
> Python, if it's possible.

code here any use:

http://gflanagan.net/site/dotnet/05/RunPythonScriptFromWord.html

?

Gerard




More information about the Python-list mailing list