C# and Python

Bikal KC nepbabucxspamfree at yahoo.ca
Tue Aug 21 07:00:19 EDT 2007


subeen wrote:

> When the user clicks Quick Sort button, the quicksort.py will be
> called and it will sort the numbers.

One way to do this:
In your C# app, have the mouse click event handler call python
interpreter "/path/to/python /path/to/quicksort.py". Make quicksort.py
write to a file the result. After the quicksort.py finishes, read the
file from your normal C# app.

Cheers.



More information about the Python-list mailing list