Yes, it is possible to "mix" C# and Python. You can have Python use classes and 
methods defined in a .NET assembly (DLL file), or you can create the 
PythonEngine object in your C# code and run Python scripts using that.
 
There's no way to answer the second question without knowing more details. The 
most important question is what kind of Python scripts are being called. 
IronPython is currently unable to deal with certain Python libraries. You might 
find that some of the your Python scripts won't run in IronPython. 

- Feihong

Jose Ignacio Gisbert <[EMAIL PROTECTED]> wrote:                 Hi all,
   
  I am developing an application which Graphic interface is in C#, but I want 
to call methods in some situations (when press certain buttonÂ…) that are coded 
in Python. First, it can be possible to mix both languages?, and second, What 
should I do, use Iron Python or Pithon.net?. Sorry for my ignorance.
   
  
    Thanks in advance 
  
    _______________________________
 José Ignacio Gisbert Sanus
 
 
  
  
  _________________________________________________
Python.NET mailing list - PythonDotNet@python.org
http://mail.python.org/mailman/listinfo/pythondotnet

       
---------------------------------
Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.
_________________________________________________
Python.NET mailing list - PythonDotNet@python.org
http://mail.python.org/mailman/listinfo/pythondotnet

Reply via email to