#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2004
    Posts
    9
    Rep Power
    0

    how can i use python in C#. Net ?


    Can you help me in this problem . I think python work well with text file , so i want to use python as script to call in C#.Net. How can i do ? Please help me ? Thanks so much.
  2. #2
  3. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    If you want to use Python under .NET with C# then you should look at Jim Hugunin's "ironPython" and Mark Hammonds "Python.NET". There is also a Python module for interacting with Microsofts CRL (Common Runtime Language).

    http://www.ironpython.com/
    http://starship.python.net/crew/mhammond/
    http://zope.org/Members/Brian/PythonNet/

    On the other hand if you're looking for a way to invoke a Python script and capture the results from within C# then you will probably want to ask this over in the .Net Development Forum: http://forums.devshed.com/f87/s

    Enjoy ,

    Mark.
    programming language development: www.netytan.com Hula


IMN logo majestic logo threadwatch logo seochat tools logo