From jason.mule at gmail.com Wed Nov 3 08:31:30 2004 From: jason.mule at gmail.com (Jason) Date: Wed Nov 3 08:31:34 2004 Subject: [Python.NET] using precompiled .NET libraries Message-ID: <138fdb2504110223314b51ed30@mail.gmail.com> Hello, What is the way to import precompiled .NET libraries written in C#, VB etc (dlls in Windows) for scripting with Python .NET? Where would one place these libraries so that the interpreter can find them. Thanks From brian at zope.com Wed Nov 3 20:51:10 2004 From: brian at zope.com (Brian Lloyd) Date: Wed Nov 3 20:52:20 2004 Subject: [Python.NET] using precompiled .NET libraries In-Reply-To: <138fdb2504110223314b51ed30@mail.gmail.com> Message-ID: > What is the way to import precompiled .NET libraries written in C#, VB > etc (dlls in Windows) for scripting with Python .NET? Where would one > place these libraries so that the interpreter can find them. Thanks > _________________________________________________ > Python.NET mailing list - PythonDotNet@python.org > http://mail.python.org/mailman/listinfo/pythondotnet > Hi Jason - Generally you just need to make sure the directory that contains the assembly you want is on the PYTHONPATH (sys.path). After that, you can use the standard import mechanisms described in the README. Brian Lloyd brian@zope.com V.P. Engineering 540.361.1716 Zope Corporation http://www.zope.com From Peter.Schwalm at epost.de Sun Nov 21 01:43:38 2004 From: Peter.Schwalm at epost.de (Peter Schwalm) Date: Sun Nov 21 01:43:47 2004 Subject: [Python.NET] PythonDotNet and Net 2.0 / VS 2005 Message-ID: <000701c4cf63$242eb810$01000080@pschwalm.de> Hallo, I am currently using pythonDotNet together with net 1 and GUI components generated by VS 2003 (which I translate to Python). Now I plan to migrate to VS 2005 and Net 2. I have tested a GUI generated by vcs 2005 and I can translate it to python with minor changes. But I suppose it still runs under net 1.1. Can I alos use pythonDotNet with the new Net 2? Thanks in advance, Peter Schwalm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythondotnet/attachments/20041121/65c73943/attachment.html From brian at zope.com Mon Nov 22 03:53:22 2004 From: brian at zope.com (Brian Lloyd) Date: Mon Nov 22 03:53:27 2004 Subject: [Python.NET] PythonDotNet and Net 2.0 / VS 2005 In-Reply-To: <000701c4cf63$242eb810$01000080@pschwalm.de> Message-ID: Hi Peter, You should be able to run it under the 2.0 runtime, though it won't know about any of the 2.0 features (you probably won't be able to instantiate a generic type, for example). Brian Lloyd brian@zope.com V.P. Engineering 540.361.1716 Zope Corporation http://www.zope.com -----Original Message----- From: pythondotnet-bounces@python.org [mailto:pythondotnet-bounces@python.org]On Behalf Of Peter Schwalm Sent: Saturday, November 20, 2004 7:44 PM To: pythondotnet@python.org Subject: [Python.NET] PythonDotNet and Net 2.0 / VS 2005 Hallo, I am currently using pythonDotNet together with net 1 and GUI components generated by VS 2003 (which I translate to Python). Now I plan to migrate to VS 2005 and Net 2. I have tested a GUI generated by vcs 2005 and I can translate it to python with minor changes. But I suppose it still runs under net 1.1. Can I alos use pythonDotNet with the new Net 2? Thanks in advance, Peter Schwalm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythondotnet/attachments/20041121/aad5726a/attachment.htm From Peter.Schwalm at epost.de Mon Nov 22 08:02:30 2004 From: Peter.Schwalm at epost.de (Peter Schwalm) Date: Mon Nov 22 08:02:41 2004 Subject: AW: [Python.NET] PythonDotNet and Net 2.0 / VS 2005 In-Reply-To: Message-ID: <002401c4d061$3b75af70$01000080@pschwalm.de> Hi Brian, thank you for your answer. Can you also tell me how I make pythonDotNet make use the 2.0 runtime? I plan to have both versions installed concurrently during the transition. So I need a way to tell pythonDotNet: "use net 2.0!"? Greetings Peter Schwalm -----Urspr?ngliche Nachricht----- Von: Brian Lloyd [mailto:brian@zope.com] Gesendet am: Montag, 22. November 2004 03:53 An: Peter Schwalm; pythondotnet@python.org Betreff: RE: [Python.NET] PythonDotNet and Net 2.0 / VS 2005 Hi Peter, You should be able to run it under the 2.0 runtime, though it won't know about any of the 2.0 features (you probably won't be able to instantiate a generic type, for example). Brian Lloyd brian@zope.com V.P. Engineering 540.361.1716 Zope Corporation http://www.zope.com -----Original Message----- From: pythondotnet-bounces@python.org [mailto:pythondotnet-bounces@python.org]On Behalf Of Peter Schwalm Sent: Saturday, November 20, 2004 7:44 PM To: pythondotnet@python.org Subject: [Python.NET] PythonDotNet and Net 2.0 / VS 2005 Hallo, I am currently using pythonDotNet together with net 1 and GUI components generated by VS 2003 (which I translate to Python). Now I plan to migrate to VS 2005 and Net 2. I have tested a GUI generated by vcs 2005 and I can translate it to python with minor changes. But I suppose it still runs under net 1.1. Can I alos use pythonDotNet with the new Net 2? Thanks in advance, Peter Schwalm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythondotnet/attachments/20041122/2f200bd2/attachment.html From brian at zope.com Mon Nov 22 20:18:36 2004 From: brian at zope.com (Brian Lloyd) Date: Mon Nov 22 20:18:43 2004 Subject: [Python.NET] PythonDotNet and Net 2.0 / VS 2005 In-Reply-To: <002401c4d061$3b75af70$01000080@pschwalm.de> Message-ID: ooh - I don't know the answer to that one offhand. One approach would be to re-build the python for .NET package using the 2.0 toolset - there might be an easier way using policy configuration tools, but I don't know it ;( Brian Lloyd brian@zope.com V.P. Engineering 540.361.1716 Zope Corporation http://www.zope.com -----Original Message----- From: Peter Schwalm [mailto:Peter.Schwalm@epost.de] Sent: Monday, November 22, 2004 2:03 AM To: Brian Lloyd; pythondotnet@python.org Subject: AW: [Python.NET] PythonDotNet and Net 2.0 / VS 2005 Hi Brian, thank you for your answer. Can you also tell me how I make pythonDotNet make use the 2.0 runtime? I plan to have both versions installed concurrently during the transition. So I need a way to tell pythonDotNet: "use net 2.0!"? Greetings Peter Schwalm -----Urspr?ngliche Nachricht----- Von: Brian Lloyd [mailto:brian@zope.com] Gesendet am: Montag, 22. November 2004 03:53 An: Peter Schwalm; pythondotnet@python.org Betreff: RE: [Python.NET] PythonDotNet and Net 2.0 / VS 2005 Hi Peter, You should be able to run it under the 2.0 runtime, though it won't know about any of the 2.0 features (you probably won't be able to instantiate a generic type, for example). Brian Lloyd brian@zope.com V.P. Engineering 540.361.1716 Zope Corporation http://www.zope.com -----Original Message----- From: pythondotnet-bounces@python.org [mailto:pythondotnet-bounces@python.org]On Behalf Of Peter Schwalm Sent: Saturday, November 20, 2004 7:44 PM To: pythondotnet@python.org Subject: [Python.NET] PythonDotNet and Net 2.0 / VS 2005 Hallo, I am currently using pythonDotNet together with net 1 and GUI components generated by VS 2003 (which I translate to Python). Now I plan to migrate to VS 2005 and Net 2. I have tested a GUI generated by vcs 2005 and I can translate it to python with minor changes. But I suppose it still runs under net 1.1. Can I alos use pythonDotNet with the new Net 2? Thanks in advance, Peter Schwalm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythondotnet/attachments/20041122/dcc16c56/attachment.html From Peter.Schwalm at epost.de Mon Nov 22 22:00:24 2004 From: Peter.Schwalm at epost.de (Peter Schwalm) Date: Mon Nov 22 22:00:39 2004 Subject: AW: [Python.NET] PythonDotNet and Net 2.0 / VS 2005 In-Reply-To: Message-ID: <001501c4d0d6$496dd510$01000080@pschwalm.de> Thank you again, I'll try building it in the near future! Peter -----Urspr?ngliche Nachricht----- Von: Brian Lloyd [mailto:brian@zope.com] Gesendet am: Montag, 22. November 2004 20:19 An: Peter Schwalm; pythondotnet@python.org Betreff: RE: [Python.NET] PythonDotNet and Net 2.0 / VS 2005 ooh - I don't know the answer to that one offhand. One approach would be to re-build the python for .NET package using the 2.0 toolset - there might be an easier way using policy configuration tools, but I don't know it ;( Brian Lloyd brian@zope.com V.P. Engineering 540.361.1716 Zope Corporation http://www.zope.com -----Original Message----- From: Peter Schwalm [mailto:Peter.Schwalm@epost.de] Sent: Monday, November 22, 2004 2:03 AM To: Brian Lloyd; pythondotnet@python.org Subject: AW: [Python.NET] PythonDotNet and Net 2.0 / VS 2005 Hi Brian, thank you for your answer. Can you also tell me how I make pythonDotNet make use the 2.0 runtime? I plan to have both versions installed concurrently during the transition. So I need a way to tell pythonDotNet: "use net 2.0!"? Greetings Peter Schwalm -----Urspr?ngliche Nachricht----- Von: Brian Lloyd [mailto:brian@zope.com] Gesendet am: Montag, 22. November 2004 03:53 An: Peter Schwalm; pythondotnet@python.org Betreff: RE: [Python.NET] PythonDotNet and Net 2.0 / VS 2005 Hi Peter, You should be able to run it under the 2.0 runtime, though it won't know about any of the 2.0 features (you probably won't be able to instantiate a generic type, for example). Brian Lloyd brian@zope.com V.P. Engineering 540.361.1716 Zope Corporation http://www.zope.com -----Original Message----- From: pythondotnet-bounces@python.org [mailto:pythondotnet-bounces@python.org]On Behalf Of Peter Schwalm Sent: Saturday, November 20, 2004 7:44 PM To: pythondotnet@python.org Subject: [Python.NET] PythonDotNet and Net 2.0 / VS 2005 Hallo, I am currently using pythonDotNet together with net 1 and GUI components generated by VS 2003 (which I translate to Python). Now I plan to migrate to VS 2005 and Net 2. I have tested a GUI generated by vcs 2005 and I can translate it to python with minor changes. But I suppose it still runs under net 1.1. Can I alos use pythonDotNet with the new Net 2? Thanks in advance, Peter Schwalm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythondotnet/attachments/20041122/357669a6/attachment.htm From sebastien.fusilier at freescale.com Thu Nov 25 18:08:30 2004 From: sebastien.fusilier at freescale.com (Fusilier Sebastien-sfus01) Date: Fri Nov 26 15:27:44 2004 Subject: [Python.NET] How to use "out" or "ref" on method parameter list Message-ID: <9587061CFA8BD511878400D0B7828EE613DD8864@zfr11exm01-bckp.sps.mot.com> Hi, I read in an old message "How to use "out" or "ref" on method parameter list" of March 2004 that Python doesn't handle out, ref parameters yet. Do you have an update about that feature ? Thanks S?bastien -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythondotnet/attachments/20041125/c9c4e977/attachment.htm From brian at zope.com Mon Nov 29 16:59:37 2004 From: brian at zope.com (Brian Lloyd) Date: Mon Nov 29 16:59:45 2004 Subject: [Python.NET] How to use "out" or "ref" on method parameter list In-Reply-To: <9587061CFA8BD511878400D0B7828EE613DD8864@zfr11exm01-bckp.sps.mot.com> Message-ID: MessageHi Sebastien, Unfortunately out and ref params still aren't supported ;( I was thinking that IronPython was going to take off, so I haven't been putting much time into Python for .NET lately. If anyone out there does have the time, MethodBinder.cs is probably the place to hack this in ;) Brian Lloyd brian@zope.com V.P. Engineering 540.361.1716 Zope Corporation http://www.zope.com -----Original Message----- From: pythondotnet-bounces+brian=zope.com@python.org [mailto:pythondotnet-bounces+brian=zope.com@python.org]On Behalf Of Fusilier Sebastien-sfus01 Sent: Thursday, November 25, 2004 12:09 PM To: 'pythondotnet@python.org' Subject: [Python.NET] How to use "out" or "ref" on method parameter list Hi, I read in an old message "How to use "out" or "ref" on method parameter list" of March 2004 that Python doesn't handle out, ref parameters yet. Do you have an update about that feature ? Thanks S?bastien -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythondotnet/attachments/20041129/8fb097bb/attachment.html From thane at magna-capital.com Mon Nov 29 18:35:13 2004 From: thane at magna-capital.com (Thane) Date: Mon Nov 29 18:35:20 2004 Subject: [Python.NET] The future of Python.NET In-Reply-To: Message-ID: <20041129173518.6AAE71E4004@bag.python.org> Brian, I would like to encourage you to continue your excellent work on Python.NET. It's my opinion that it will be a _long_ time before IronPython comes close to Python.NET in terms of usability, if ever. Here are some of my reasons for that opinion: 1. JH was hired by MS to work on dynamic languages, not IronPython per se, and consequently, IronPython may not be his first priority. (Why would they want something that would supplant VB?) 2. For IronPython to provide any useful functionality it will either have to directly support the existing Python libraries or these libraries will have to be ported to .NET. Neither of these possibilities can be quickly achieved. 3. MS may decide to leave IronPython as a research project and not publicly support it (as they have done with AsmL and many other internal projects). Basically my point is that Python.NET is great and is immediately useful, and I sincerely hope you don't abandon it. As Rumack said in "Airplane": good luck, we're all counting on you. --Thane _____ From: pythondotnet-bounces@python.org [mailto:pythondotnet-bounces@python.org] On Behalf Of Brian Lloyd Sent: Monday, November 29, 2004 9:00 AM To: Fusilier Sebastien-sfus01; pythondotnet@python.org Subject: RE: [Python.NET] How to use "out" or "ref" on method parameter list Hi Sebastien, Unfortunately out and ref params still aren't supported ;( I was thinking that IronPython was going to take off, so I haven't been putting much time into Python for .NET lately. If anyone out there does have the time, MethodBinder.cs is probably the place to hack this in ;) Brian Lloyd brian@zope.com V.P. Engineering 540.361.1716 Zope Corporation http://www.zope.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythondotnet/attachments/20041129/d00accb9/attachment.htm From david.powell at kcl.ac.uk Tue Nov 30 10:20:45 2004 From: david.powell at kcl.ac.uk (david Powell) Date: Tue Nov 30 10:37:22 2004 Subject: [Python.NET] The future of Python.NET Message-ID: <20041130093722.436061E4005@bag.python.org> Brian I would like to echo Thane's support and thank you for so much great code. David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythondotnet/attachments/20041130/95bfbf85/attachment.htm From roman.yakovenko at actimize.com Tue Nov 30 10:53:30 2004 From: roman.yakovenko at actimize.com (Roman Yakovenko) Date: Tue Nov 30 10:49:51 2004 Subject: [Python.NET] The future of Python.NET Message-ID: Me too. But for an other reason: I think your approch is better. I think we don't need an other implementation of python, but bridge between python and .Net. Roman -----Original Message----- From: david Powell [mailto:david.powell@kcl.ac.uk] Sent: Tuesday, November 30, 2004 11:21 AM To: PythondotNet Subject: [Python.NET] The future of Python.NET Brian I would like to echo Thane?s support and thank you for so much great code. David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythondotnet/attachments/20041130/f6ff606b/attachment-0001.html