473,320 Members | 2,193 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.

IronPython 1.0 Beta 7 Released

9 1270
maybe I am a bit ignorant and love living in the bliss of it and maybe
I am a bit tired on the subject but may I ask you a question? if i
decided to use IronPython for strict cPython work, is this possible?
probably dumb when I can use cPython but is it still possible in case
maybe sometime down the road I wanted to use the .NET libaries?

In other words, IronPython is Python but with the extra capability of
working in .NET correct? Do you have some introductory information on
it? I am very interested on some news that explains what IronPython is.
What would you recommend I check out for a great intro on IronPython?

May 25 '06 #2
sam
vbgunz:
When you download IronPython,the tutorial directory has some examples
of interfacing With the .NET environment i.e.:
1: IronPython -> C#
2: C# -> IronPython
3: IronPython -> VB
4: VB -> IronPython
Sam Schulenburg

May 25 '06 #3
Well, basically, ironpython is to .NET what jython is to JAVA.
It is a faithful implementation of the python language, written in c#,
created to run on and take full advantage of the .NET framework.

That means that you have access to all the available libraries of the
..NET framework and you can use your favorite language. It is 100%
compliant with cpython.

If you want to take advantage of ironpython, all you have to do is
learn more about the .NET framework and its libraries. You don't need
to learn anything new regarding language features. It's just plain and
regular python.

You have to bear in mind something very important though:
Ironpython is not a first class .NET language.
That means that although you can write programs that run on .NET and
you have access to all its libraries, you can't write libraries that
could be consumed by other languages.
This is because ironpython is still a dynamic language, while all the
other .NET languages are static. So it cannot be compiled like c# or
VB, for example.
It is not a problem if all you want is to create end user programs, but
if you want to write reusable libraries, you're better off using any
other statically typed language.
In this case, a good alternative is Boo, which is very similar to
python (syntax wise), but statically typed.

May 25 '06 #4
Also, IronPython cannot access CPython libraries. So it cannot be used
as a drop-in replacement for CPython in most non-trivial apps. Python
for .NET however allows you to both use both CPython and .NET
libraries.
Ironpython is not a first class .NET language.
That means that although you can write programs that run on .NET and
you have access to all its libraries, you can't write libraries that
could be consumed by other languages.


I was hoping that it would eventually, like Jython by method signatures
in docstrings. But if it does not, I wonder what significant benefit
does it provide at all compared to Python for .NET (once the .NET 2.0
version is out, atleast).

May 25 '06 #5
Can you recommend a book or a link for a person learning Python on
Windows who does not yet know C# or .NET?

Thanks,

rick

May 25 '06 #6
Ravi Teja wrote:
Also, IronPython cannot access CPython libraries. So it cannot be used
as a drop-in replacement for CPython in most non-trivial apps. Python
for .NET however allows you to both use both CPython and .NET
libraries.


It will be able to access the standard libraries, as long as they are
rewriten in a .NET language. People are doing it already, it's just a
matter of time...

May 25 '06 #7
Ravi Teja wrote:
Also, IronPython cannot access CPython libraries. So it cannot be used
as a drop-in replacement for CPython in most non-trivial apps. Python
for .NET however allows you to both use both CPython and .NET
libraries.


It will be able to access the standard libraries, as long as they are
writen in pure python, otherwise they should be rewriten in a .NET
language. People are doing it already, it's just a matter of time...

May 25 '06 #8
> > Also, IronPython cannot access CPython libraries. So it cannot be used
as a drop-in replacement for CPython in most non-trivial apps. Python
for .NET however allows you to both use both CPython and .NET
libraries.


It will be able to access the standard libraries, as long as they are
writen in pure python, otherwise they should be rewriten in a .NET
language. People are doing it already, it's just a matter of time...


I didn't mean the standard library port like Jython but the wealth of
third party native Python code available. What I am trying to get at is
Jython is better than JPype in some settings because while it cannot
access native Python extensions like JPype can, it does allow you to
create Java jars which may freely be used in applets or applications. I
did use it in this way in the past. But if IronPython can't create
libraries in a similar standing as you stated, I wonder why it is a
better option than Python for .NET (which has been getting a lot less
press and consequently has low momentum) which does everything
IronPython does and more. Arguably, creating a binding mechanism is a
simpler task than re-implementing the whole VM.

Don't get me wrong, I am very excited about IronPython, just trying to
weight pros and cons.

May 26 '06 #9
> Can you recommend a book or a link for a person learning Python on
Windows who does not yet know C# or .NET?


Since Python is cross-platform, any Python book will do. If you need to
do MS Windows specific programming (COM and OLE automation, Windows
Services etc), you can use Mark Hammond's "Python Programming On Win32".

May 26 '06 #10

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

Similar topics

27
by: James | last post by:
http://www.gotdotnet.com/workspaces/workspace.aspx?id=ad7acff7-ab1e-4bcb-99c0-57ac5a3a9742
8
by: Luis M. Gonzalez | last post by:
IronPython 0.9 Released(8/2/2005 10:28:41 AM) http://www.microsoft.com/downloads/details.aspx?familyid=cf5ae627-5df1-4f8a-ba8b-d64f0676f43f&displaylang=en
0
by: Marc G. Fournier | last post by:
After 4 weeks of work, involving alot of bug fixes, and documentation improvements, to the source tree, we have just released our 4th Beta of 8.0.0. Most of the items on Bruce's Open Items list...
25
by: Nainto | last post by:
I came across this link today. http://tinyurl.com/9c7ta It seems Microsoft is getting involved with Python. What do you think of it? Is it any good? Anything to worry about? -- Zach
3
by: Sanghyeon Seo | last post by:
I took some time to write this HOWTO: http://sparcs.kaist.ac.kr/~tinuviel/fepy/howto/simplehttpserver-ironpython-mono-howto.html IronPython seems to get much less interest than it deserves. This...
11
by: riku | last post by:
what does Beta mean, i hear it all the time such as MSN Beta, LimeWire Beta, etc. what exactly does it stand for and what is it? it asks download Beta version. can sum1 please explain. any...
0
by: Sanghyeon Seo | last post by:
ctypes is a popular CPython extension planned for inclusion in Python 2.5. It is a foreign function interface library. Homepage: http://starship.python.net/crew/theller/ctypes/ Documentation:...
6
by: per9000 | last post by:
Hi python people, I am working with .NET (in C++/CLI and C#) but since I really love python I'd like to do things for .NET (or whatever) from python. Has anyone tried it? What (costless)...
2
by: Gregory (Grisha) Trubetskoy | last post by:
The Apache Software Foundation and The Apache HTTP Server Project are pleased to announce the 3.3.0b (Beta) release of mod_python. Version 3.3.0b of mod_python features several new functions and...
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: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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.