Skip to main content

Import .NET library in python using pythonnet

  1: #in your .py file
  2: from System import Console
  3: Console.Out.WriteLine("Hello World")


You will see “Hello World”.

Comments