Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Python.NET (Pythonnet) in C# – How To Call Python from .NET

YouTube Blog Newsletter All Links LinkedIn

This example highlights how you can call Python code from within a C# application. To read more about this, you can check out the corresponding blog post found here:

Pythonnet: A Simple Union of .NET Core and Python You'll Love

Key Points

  • You can use the Pythonnet nuget package to simplify things greatly
  • You'll need to point the engine at your correct DLL for Python versioning
  • The dynamic keyword can make your life much easier with going between these two languages

Newsletter

If you found this useful and you want to learn more about C#, .NET, and software engineering, subscribe to the free Dev Leader Weekly newsletter:

Subscribe to Dev Leader Weekly

Connect with Dev Leader


BrandGhost

Powered by BrandGhost 👻