473,320 Members | 1,921 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

.net and python

hi!

Is it possible for me to have part of my application written using C#.NET
and then have it called from within a Python program.

thanks

cheers


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Jul 18 '05 #1
6 1667
In data Thu, 2 Sep 2004 18:28:03 +1000, Ajay ha scritto:
Is it possible for me to have part of my application written using C#.NET
and then have it called from within a Python program.


Try Python.NET http://www.zope.org/Members/Brian/PythonNet/index_html
From there you can access dotNET libraries within a Python program

--
Lawrence (l dot oluyede at virgilio dot it)
"If the implementation is hard to explain, it's a bad idea."
from The Zen of Python by Tim Peters
Jul 18 '05 #2
Can anyone tell me the difference between python.net and IronPython?
"Lawrence Oluyede" <ra***@dot.com> wrote in message
news:xz*****************************@40tude.net...
In data Thu, 2 Sep 2004 18:28:03 +1000, Ajay ha scritto:
Is it possible for me to have part of my application written using C#.NET and then have it called from within a Python program.


Try Python.NET http://www.zope.org/Members/Brian/PythonNet/index_html
From there you can access dotNET libraries within a Python program

--
Lawrence (l dot oluyede at virgilio dot it)
"If the implementation is hard to explain, it's a bad idea."
from The Zen of Python by Tim Peters

Jul 18 '05 #3
Guyon Morée ha scritto:
Can anyone tell me the difference between python.net and IronPython?


the former is a bridge from CPython to .ent, the latter is a
reimplementation of Python over .net .

Jul 18 '05 #4
And for all : partial (not finished)

* sorry for my english *



Jul 18 '05 #5
Guyon Morée wrote:
Can anyone tell me the difference between python.net and IronPython?


I think python.NET is just the regular Python (implemented in C, called
CPython) with some changes to make it easier to call .NET libraries. So
for example you could add a line like "from CLR.System.Windows.Forms
import Form".
IronPython is a complete rewrite of Python that itself runs in .NET's
runtime engine (CLR). See also boo and pycs.
Jul 18 '05 #6
python.net is a python extension that allows you to call .net classes
from regular python. IronPython is a python interpreter coded in
either managed C or C#. (not sure which) That python interpreter not
only has access to .net classes, but runs on top of the .net virtual
machine. It actually may be slightly faster than CPython since it
uses clr classes which have been heavily optimized. I think it's a
little early to tell about that, but it looks promising. For right
now, python.net looks to be the moderate course if you just want to
call a few .net classes.
On Thu, 2 Sep 2004 13:05:02 +0200, "Guyon Morée"
<gumuz@NO_looze_SPAM.net> wrote:
Can anyone tell me the difference between python.net and IronPython?
"Lawrence Oluyede" <ra***@dot.com> wrote in message
news:xz*****************************@40tude.net.. .
In data Thu, 2 Sep 2004 18:28:03 +1000, Ajay ha scritto:
> Is it possible for me to have part of my application written usingC#.NET > and then have it called from within a Python program.


Try Python.NET http://www.zope.org/Members/Brian/PythonNet/index_html
From there you can access dotNET libraries within a Python program

--
Lawrence (l dot oluyede at virgilio dot it)
"If the implementation is hard to explain, it's a bad idea."
from The Zen of Python by Tim Peters


Jul 18 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.