I'm new for both python and ironpython. Can you you help me how to call external python script from ironpython? I have a script file like
import sys
def sample():
from PIL import Image, ImageEnhance, ImageFilter
img = Image.open("C:\\python\\images4.jpg")
img.show(img)
My ironpython from console application.
class Program
{
static void Main(string[] argsS)
{
var engine = Python.CreateEngine();
dynamic scope = engine.CreateScope();
engine.ExecuteFile(@"C:\\pythonscripts\\pythonCheckV.py",scope);
scope.sample();
Console.Read();
}
}