Hello all,

I have Python script that basically has 3 functions, two of them I am calling 
only once in beginning, and one function I call regularly let's say every 

All functions are of type to have some parameters and give back result without 
some state being saved between call.

I realized this calls using Python for .NET.

But, now I ask myself if I have any real advantage comparing scenario in which 
I would call python interpreter from C# program directly, then python program 
would store result in txt file and I would read it from C# program.

Can someone tell me what would be disadvantage of such approach ?

Ok, I can imagine parameter transfer is more complicated, exception handling 
probably also, maybe python also would need more time to perform this functions 
because of some initialization methods that it would have to repeat each time 
python interpreter is called ?



Kresimir Simunic.



Reifenh?user Reicofil GmbH & Co. KG
Spicher Stra?e 46, 53844 Troisdorf, Germany
Registergericht Siegburg, Reg.Nr. HR A 4534
USt-IdNr. DE 814359351, Steuer-Nr. 5220/5760/0426
Reifenh?user Reicofil Verwaltungs-GmbH
Registergericht Siegburg, Reg.Nr. HR B 788
Gesch?ftsf?hrer: Dr.-Ing. Bernd Kunze

Please note: This message may contain information which is privileged, 
confidential and proprietary.

<<attachment: k2016_email_footer_200x78.jpg>>

Python.NET mailing list - PythonDotNet@python.org

Reply via email to