how can i compile a python package into a dll or so and use it withhin c# ? or have both languages coexisting?
Angius9/20/2022
IronPython maybe
Angius9/20/2022
Or just calling Py scripts from C#
Korbah9/20/2022
for a past project I invoked Python scripts through the executable using Process.Start
Dropps9/20/2022
its more about having a python module (image converter and some more advanced stuff with image manipulation automated) but using it in a C# file so i can say
using App.SomePythonModule;
...
SomePythonModule pythonmodule = new();
pythonmodule.SomeMethodInThere();
...
thinker2279/20/2022
Unless you find some magic Python to IL converter, that's not possible
Dropps9/20/2022
ah allright then ima just rewrite 7 packages i use in py to C# and my python code to C# then it should work :WishMeLuck:
Dropps9/20/2022
ah no nitro anymore
Dropps9/20/2022
still thanks alot for your help
thinker2279/20/2022
I mean you can try using IronPython, but you'll never be able to fully use Python modules as if there were C# classes.
Dropps9/20/2022
yes thats what i kinda need to achive
thinker2279/20/2022
You could also try checking out ImageSharp if you need advanced image manipulation
Dropps9/20/2022
need to create a BitMap from an video file repeatenly for each frame and then well process it to remove any kind of epileptic screen contents