C# - IronPython (run Python from C#) Tutorial

Поделиться
HTML-код
  • Опубликовано: 28 сен 2022
  • more detailed article and source code: k23-software.net/tepcv
    contact: contact@k23-software.net
    C# - IronPython (run Python from C#) Tutorial
  • НаукаНаука

Комментарии • 14

  • @learnenglishwithmovie8485
    @learnenglishwithmovie8485 Год назад

    Straight Forward.
    Thanks

  • @Cod3rMax
    @Cod3rMax Год назад

    Please do a video explaining csharp provider library to use the compiler to generate .exe files within your program

  • @jankocnar5390
    @jankocnar5390 Год назад +1

    What do I do when the python file imports from some package ?

  • @jobsinformertn
    @jobsinformertn Год назад +2

    It is possible to access different data types of variables from python to csharp and csharp to python? because I tried pass images from csharp to python and the python analyse the image and give a output to csharp it comes import module error I tried lots of time in different ways but it not work so please say any solution I believe you the solution.

    • @ianvisser7899
      @ianvisser7899 Год назад

      Did you remember to initialize your python environment and install the modules you need (eg, pillow, openCV, etc.)

    • @jobsinformertn
      @jobsinformertn Год назад

      @@ianvisser7899 I installed everything but it's does not work.

    • @ianvisser7899
      @ianvisser7899 Год назад

      @@jobsinformertn You try saving it as temp files, then accessing it from C# afterwards? Tbh, what you plan on doing, is more like pythonnet than ironpython if i'm being honest. If I understand correctly, you want to use C# for forms, then python to do the processing. ironpython isnt really well suited for that, cuz it bugs out with environments and modules. You should be able to see the debug code for it, which should show you which module is missing. Remember, ironpython doesnt include the core libs, so you'll have to import and using them manually.

    • @wowojune9184
      @wowojune9184 Год назад

      First of all, IronPython is an implementation by C#.
      You cannot import C-Python C-native modules (including PIL, OpenCv) into IronPython.
      And you could exchange data between IronPython and C# by dotnet (CLS) sense.
      However, I wonder that you are talking about exchange C-data between C-Python and C/CPP.

  • @deejons5760
    @deejons5760 Год назад

    i can't find the screen in 0:01 in my vs22. where i find this damn thing?

    • @k23software
      @k23software  Год назад +1

      In Visual Studio, in the top menu bar, go to Project -> Manage NuGet Packages

  • @user-xi9nj8ok3z
    @user-xi9nj8ok3z Год назад

    Link to access source code is not working

    • @k23software
      @k23software  Год назад

      Thanks for letting me know. It is back online again.

  • @limbique
    @limbique 11 месяцев назад

    My ears are broken?