[Python.NET] WPF or other GUI with PythonNet & Clingo

2022-05-03 Thread David Epstein
Hi folks! This is my first post. In short, I'd like to know whether it is a good idea to use PythonNet within a MVVM framework to glue the models (that rely on a Python package) to the user interface's view models and views (that rely on C# and WPF controls). If it is a good idea, I'd welcome a

[Python.NET] Re: WPF or other GUI with PythonNet & Clingo

2022-05-03 Thread Emmanuel Rutovic
Hi David, That's definitely possible. I am doing something similar with the tool that I am developing (see www.simba.io). However, please note that if you base your UI on WPF: - Your app will be only compatible with Windows - The size of the Python module might be quite large Microsoft did not pu

[Python.NET] Re: WPF or other GUI with PythonNet & Clingo

2022-05-03 Thread David Epstein
Thanks Emmanuel. Two quick questions: 1. What IDE do you recommend for working with Python.NET embedded in C#--Visual Studio? 2. 3. Have you found any complete embedding example apps? I've only found the Python.NET tests, which each show how to perform one specific thing, but not how t

[Python.NET] Re: WPF or other GUI with PythonNet & Clingo

2022-05-03 Thread Emmanuel Rutovic
Hi David, 1. I am personally switching between VS Code (Python) and VS 2022 (C#/WPF). 2. Unfortunately, no. Hope this helps, Manu. On Tue, May 3, 2022 at 2:30 PM David Epstein wrote: > Thanks Emmanuel. Two quick questions: > > >1. What IDE do you recommend for working with Python.NET embed