From lukre at microsoft.com Tue Apr 1 20:44:08 2014 From: lukre at microsoft.com (Lutz Kretzschmar) Date: Tue, 1 Apr 2014 18:44:08 +0000 Subject: [Python.NET] Python27.dll Message-ID: <7b92c1831cb24571b98e044df03f59d6@BL2PR03MB387.namprd03.prod.outlook.com> Hi there, I'm trying to use Python for .NET in my Winforms C# app, but when I call PythonEngine.Initialize() I get an error about not being able to find python27.dll. I searched all over the place, but I actually don't see any python27.dll... Any ideas? - Lutz -------------- next part -------------- An HTML attachment was scrubbed... URL: From edubreuil71 at gmail.com Sat Apr 5 04:45:13 2014 From: edubreuil71 at gmail.com (Eric Dubreuil) Date: Fri, 4 Apr 2014 22:45:13 -0400 Subject: [Python.NET] Is there a way to use PythonDotNet within Pythonwin ? Message-ID: Hi! I'm new to Python for .NET I have been using Pythonwin (Python IDE and GUI Framework for Windows) for a while, see: http://starship.python.net/crew/mhammond/win32/ I would like to use Python for .NET with Pythonwin IDE. Is this possible ? How ? Thanks ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From anthoff at berkeley.edu Mon Apr 7 19:37:23 2014 From: anthoff at berkeley.edu (David Anthoff) Date: Mon, 7 Apr 2014 10:37:23 -0700 Subject: [Python.NET] Is there a way to use PythonDotNet within Pythonwin ? In-Reply-To: References: Message-ID: Hi Eric, Python for .NET is just a python package, you should be able to use it from whatever IDE you want to. But I am not clear that answers your questions, what exactly do you want to do? Best, David From: PythonDotNet [mailto:pythondotnet-bounces+anthoff=berkeley.edu at python.org] On Behalf Of Eric Dubreuil Sent: Friday, April 4, 2014 7:45 PM To: pythondotnet at python.org Subject: [Python.NET] Is there a way to use PythonDotNet within Pythonwin ? Hi! I'm new to Python for .NET I have been using Pythonwin (Python IDE and GUI Framework for Windows) for a while, see: http://starship.python.net/crew/mhammond/win32/ I would like to use Python for .NET with Pythonwin IDE. Is this possible ? How ? Thanks ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From edubreuil71 at gmail.com Tue Apr 8 19:29:13 2014 From: edubreuil71 at gmail.com (Eric Dubreuil) Date: Tue, 8 Apr 2014 13:29:13 -0400 Subject: [Python.NET] Is there a way to use PythonDotNet within Pythonwin ? In-Reply-To: References: Message-ID: Hi! I'm trying to run a Python script using Python for .NET from PythonWin but importing Python for .NET's clr in PythonWin always gives this error : >>> import clr ImportError: DLL load failed: %1 is not a valid Win32 application. I can program a Python script in PythonWin but I cannot run it from there. I go around this by saving the script's file and double-clicking its icon in Windows to run it... (Made sure Windows opens *.py files with Python for .NET's nPython.exe) Its working fine for me... Thanks for your answer. On Mon, Apr 7, 2014 at 1:37 PM, David Anthoff wrote: > Hi Eric, > > > > Python for .NET is just a python package, you should be able to use it > from whatever IDE you want to. But I am not clear that answers your > questions, what exactly do you want to do? > > > > Best, > > David > > > > *From:* PythonDotNet [mailto:pythondotnet-bounces+anthoff= > berkeley.edu at python.org] *On Behalf Of *Eric Dubreuil > *Sent:* Friday, April 4, 2014 7:45 PM > *To:* pythondotnet at python.org > *Subject:* [Python.NET] Is there a way to use PythonDotNet within > Pythonwin ? > > > > Hi! > > I'm new to Python for .NET > > I have been using Pythonwin (Python IDE and GUI Framework for Windows) for > a while, see: > http://starship.python.net/crew/mhammond/win32/ > > I would like to use Python for .NET with Pythonwin IDE. > > Is this possible ? > > How ? > > Thanks ! > > _________________________________________________ > Python.NET mailing list - PythonDotNet at python.org > https://mail.python.org/mailman/listinfo/pythondotnet > -------------- next part -------------- An HTML attachment was scrubbed... URL: From anthoff at berkeley.edu Tue Apr 8 19:42:21 2014 From: anthoff at berkeley.edu (David Anthoff) Date: Tue, 8 Apr 2014 10:42:21 -0700 Subject: [Python.NET] Is there a way to use PythonDotNet within Pythonwin ? In-Reply-To: References: Message-ID: How did you install Python for .Net? From: PythonDotNet [mailto:pythondotnet-bounces+anthoff=berkeley.edu at python.org] On Behalf Of Eric Dubreuil Sent: Tuesday, April 8, 2014 10:29 AM To: A list for users and developers of Python for .NET Subject: Re: [Python.NET] Is there a way to use PythonDotNet within Pythonwin ? Hi! I'm trying to run a Python script using Python for .NET from PythonWin but importing Python for .NET's clr in PythonWin always gives this error : >>> import clr ImportError: DLL load failed: %1 is not a valid Win32 application. I can program a Python script in PythonWin but I cannot run it from there. I go around this by saving the script's file and double-clicking its icon in Windows to run it... (Made sure Windows opens *.py files with Python for .NET's nPython.exe) Its working fine for me... Thanks for your answer. On Mon, Apr 7, 2014 at 1:37 PM, David Anthoff > wrote: Hi Eric, Python for .NET is just a python package, you should be able to use it from whatever IDE you want to. But I am not clear that answers your questions, what exactly do you want to do? Best, David From: PythonDotNet [mailto:pythondotnet-bounces+anthoff =berkeley.edu at python.org ] On Behalf Of Eric Dubreuil Sent: Friday, April 4, 2014 7:45 PM To: pythondotnet at python.org Subject: [Python.NET] Is there a way to use PythonDotNet within Pythonwin ? Hi! I'm new to Python for .NET I have been using Pythonwin (Python IDE and GUI Framework for Windows) for a while, see: http://starship.python.net/crew/mhammond/win32/ I would like to use Python for .NET with Pythonwin IDE. Is this possible ? How ? Thanks ! _________________________________________________ Python.NET mailing list - PythonDotNet at python.org https://mail.python.org/mailman/listinfo/pythondotnet -------------- next part -------------- An HTML attachment was scrubbed... URL: From edubreuil71 at gmail.com Wed Apr 9 01:36:11 2014 From: edubreuil71 at gmail.com (Eric Dubreuil) Date: Tue, 8 Apr 2014 19:36:11 -0400 Subject: [Python.NET] Is there a way to use PythonDotNet within Pythonwin ? In-Reply-To: References: Message-ID: Downloaded pythonnet-2.0-Beta0-clr4.0_140_py27_UCS2_x86.zip from http://sourceforge.net and unziped to C:\PythonNet On Tue, Apr 8, 2014 at 1:42 PM, David Anthoff wrote: > How did you install Python for .Net? > > > > *From:* PythonDotNet [mailto:pythondotnet-bounces+anthoff= > berkeley.edu at python.org] *On Behalf Of *Eric Dubreuil > *Sent:* Tuesday, April 8, 2014 10:29 AM > *To:* A list for users and developers of Python for .NET > *Subject:* Re: [Python.NET] Is there a way to use PythonDotNet within > Pythonwin ? > > > > Hi! > > > > I'm trying to run a Python script using Python for .NET from PythonWin but > > importing Python for .NET's clr in PythonWin always gives this error : > > > > >>> import clr > > ImportError: DLL load failed: %1 is not a valid Win32 application. > > > > I can program a Python script in PythonWin but I cannot run it from there. > > I go around this by saving the script's file and double-clicking its icon > in Windows to run it... > > (Made sure Windows opens *.py files with Python for .NET's nPython.exe) > > > > Its working fine for me... > > > > Thanks for your answer. > > > > > > On Mon, Apr 7, 2014 at 1:37 PM, David Anthoff > wrote: > > Hi Eric, > > > > Python for .NET is just a python package, you should be able to use it > from whatever IDE you want to. But I am not clear that answers your > questions, what exactly do you want to do? > > > > Best, > > David > > > > *From:* PythonDotNet [mailto:pythondotnet-bounces+anthoff= > berkeley.edu at python.org] *On Behalf Of *Eric Dubreuil > *Sent:* Friday, April 4, 2014 7:45 PM > *To:* pythondotnet at python.org > *Subject:* [Python.NET] Is there a way to use PythonDotNet within > Pythonwin ? > > > > Hi! > > I'm new to Python for .NET > > I have been using Pythonwin (Python IDE and GUI Framework for Windows) for > a while, see: > http://starship.python.net/crew/mhammond/win32/ > > I would like to use Python for .NET with Pythonwin IDE. > > Is this possible ? > > How ? > > Thanks ! > > > _________________________________________________ > Python.NET mailing list - PythonDotNet at python.org > https://mail.python.org/mailman/listinfo/pythondotnet > > > > _________________________________________________ > Python.NET mailing list - PythonDotNet at python.org > https://mail.python.org/mailman/listinfo/pythondotnet > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jgill at tokiomillennium.com Wed Apr 9 13:36:49 2014 From: jgill at tokiomillennium.com (John Gill) Date: Wed, 9 Apr 2014 11:36:49 +0000 Subject: [Python.NET] Deprecation warnings Message-ID: I just upgraded to pythonnet 2.0 - thanks to "pip install -pre pythonnet" Thanks for making that work. I am now getting these deprecation warnings: The module was found, but not in a referenced namespace. Implicit loading is deprecated. Please use clr.AddReference("System.Collections.Generic.List"). from System.Collections.Generic import List When I try suppressing this as suggested I get an error due to being unable to find the System.Collections.Generic.List assembly. Wondering how we are supposed to handle this in the future? John PS anyone heading to PyCon? This communication and any attachments contain information which is confidential and may also be legally privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying, printing or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful. If you have received this communication in error, please return it with the title "received in error" to postmaster at tokiomillennium.com and then permanently delete the email and any attachments from your system. E-mail communications cannot be guaranteed to be secure or error free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses. It is the recipient's responsibility to ensure that e-mail transmissions and any attachments are virus free. We do not accept liability for any damages or other consequences caused by information that is intercepted, corrupted, amended, lost, destroyed, arrives late or incomplete or contains viruses. ****************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From tony at pyxll.com Wed Apr 9 13:59:14 2014 From: tony at pyxll.com (Tony Roberts) Date: Wed, 9 Apr 2014 12:59:14 +0100 Subject: [Python.NET] Deprecation warnings In-Reply-To: References: Message-ID: Hi Jon, add clr.AddReference("System.Collections") to your code before the import. I'll take a look at why that warning message doesn't have the correct assembly name. cheers, Tony On Wed, Apr 9, 2014 at 12:36 PM, John Gill wrote: > I just upgraded to pythonnet 2.0 - thanks to "pip install -pre > pythonnet" > > > > Thanks for making that work. > > > > I am now getting these deprecation warnings: > > > > The module was found, but not in a referenced namespace. > > Implicit loading is deprecated. Please use > clr.AddReference("System.Collections.Generic.List"). > > from System.Collections.Generic import List > > > > When I try suppressing this as suggested I get an error due to being > unable to find the System.Collections.Generic.List assembly. > > > > Wondering how we are supposed to handle this in the future? > > > > John > > > > PS anyone heading to PyCon? > > > > This communication and any attachments contain information which is > confidential and may also be legally privileged. It is for the exclusive > use of the intended recipient(s). If you are not the intended recipient(s) > please note that any form of disclosure, distribution, copying, printing or > use of this communication or the information in it or in any attachments is > strictly prohibited and may be unlawful. If you have received this > communication in error, please return it with the title "received in error" > to postmaster at tokiomillennium.com and then permanently delete the email > and any attachments from your system. > > > > E-mail communications cannot be guaranteed to be secure or error free, as > information could be intercepted, corrupted, amended, lost, destroyed, > arrive late or incomplete, or contain viruses. It is the recipient's > responsibility to ensure that e-mail transmissions and any attachments are > virus free. We do not accept liability for any damages or other > consequences caused by information that is intercepted, corrupted, amended, > lost, destroyed, arrives late or incomplete or contains viruses. > > ****************************************** > > > _________________________________________________ > Python.NET mailing list - PythonDotNet at python.org > https://mail.python.org/mailman/listinfo/pythondotnet > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jgill at tokiomillennium.com Wed Apr 9 16:56:31 2014 From: jgill at tokiomillennium.com (John Gill) Date: Wed, 9 Apr 2014 14:56:31 +0000 Subject: [Python.NET] Deprecation warnings In-Reply-To: References: Message-ID: Thanks Tony, I am actually having more general weirdness with this. I have installs on different machines, some are giving me the deprecation warning, some are not. So, let me know if you cannot duplicate the warning, it may be an issue on my end. John From: PythonDotNet [mailto:pythondotnet-bounces+jgill=tokiomillennium.com at python.org] On Behalf Of Tony Roberts Sent: Wednesday, April 09, 2014 8:59 AM To: A list for users and developers of Python for .NET Subject: Re: [Python.NET] Deprecation warnings Hi Jon, add clr.AddReference("System.Collections") to your code before the import. I'll take a look at why that warning message doesn't have the correct assembly name. cheers, Tony On Wed, Apr 9, 2014 at 12:36 PM, John Gill > wrote: I just upgraded to pythonnet 2.0 - thanks to "pip install -pre pythonnet" Thanks for making that work. I am now getting these deprecation warnings: The module was found, but not in a referenced namespace. Implicit loading is deprecated. Please use clr.AddReference("System.Collections.Generic.List"). from System.Collections.Generic import List When I try suppressing this as suggested I get an error due to being unable to find the System.Collections.Generic.List assembly. Wondering how we are supposed to handle this in the future? John PS anyone heading to PyCon? This communication and any attachments contain information which is confidential and may also be legally privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying, printing or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful. If you have received this communication in error, please return it with the title "received in error" to postmaster at tokiomillennium.com and then permanently delete the email and any attachments from your system. E-mail communications cannot be guaranteed to be secure or error free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses. It is the recipient's responsibility to ensure that e-mail transmissions and any attachments are virus free. We do not accept liability for any damages or other consequences caused by information that is intercepted, corrupted, amended, lost, destroyed, arrives late or incomplete or contains viruses. ****************************************** _________________________________________________ Python.NET mailing list - PythonDotNet at python.org https://mail.python.org/mailman/listinfo/pythondotnet This communication and any attachments contain information which is confidential and may also be legally privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying, printing or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful. If you have received this communication in error, please return it with the title "received in error" to postmaster at tokiomillennium.com and then permanently delete the email and any attachments from your system. E-mail communications cannot be guaranteed to be secure or error free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses. It is the recipient's responsibility to ensure that e-mail transmissions and any attachments are virus free. We do not accept liability for any damages or other consequences caused by information that is intercepted, corrupted, amended, lost, destroyed, arrives late or incomplete or contains viruses. ****************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From tony at pyxll.com Wed Apr 9 19:06:04 2014 From: tony at pyxll.com (Tony Roberts) Date: Wed, 9 Apr 2014 18:06:04 +0100 Subject: [Python.NET] Deprecation warnings In-Reply-To: References: Message-ID: Hi John, I've just checked in a fix for this. You should be able to try it out by getting the latest from the develop branch of https://github.com/pythonnet/pythonnet and building it locally using setup.py, eg: >python setup.py install cheers, Tony On Wed, Apr 9, 2014 at 3:56 PM, John Gill wrote: > Thanks Tony, > > > > I am actually having more general weirdness with this. I have installs > on different machines, some are giving me the deprecation warning, some are > not. > > > > So, let me know if you cannot duplicate the warning, it may be an issue on > my end. > > > > John > > > > *From:* PythonDotNet [mailto:pythondotnet-bounces+jgill= > tokiomillennium.com at python.org] *On Behalf Of *Tony Roberts > *Sent:* Wednesday, April 09, 2014 8:59 AM > *To:* A list for users and developers of Python for .NET > *Subject:* Re: [Python.NET] Deprecation warnings > > > > Hi Jon, > > > > add clr.AddReference("System.Collections") to your code before the import. > I'll take a look at why that warning message doesn't have the correct > assembly name. > > > > cheers, > > Tony > > > > On Wed, Apr 9, 2014 at 12:36 PM, John Gill > wrote: > > I just upgraded to pythonnet 2.0 - thanks to "pip install -pre > pythonnet" > > > > Thanks for making that work. > > > > I am now getting these deprecation warnings: > > > > The module was found, but not in a referenced namespace. > > Implicit loading is deprecated. Please use > clr.AddReference("System.Collections.Generic.List"). > > from System.Collections.Generic import List > > > > When I try suppressing this as suggested I get an error due to being > unable to find the System.Collections.Generic.List assembly. > > > > Wondering how we are supposed to handle this in the future? > > > > John > > > > PS anyone heading to PyCon? > > > > This communication and any attachments contain information which is > confidential and may also be legally privileged. It is for the exclusive > use of the intended recipient(s). If you are not the intended recipient(s) > please note that any form of disclosure, distribution, copying, printing or > use of this communication or the information in it or in any attachments is > strictly prohibited and may be unlawful. If you have received this > communication in error, please return it with the title "received in error" > to postmaster at tokiomillennium.com and then permanently delete the email > and any attachments from your system. > > > > E-mail communications cannot be guaranteed to be secure or error free, as > information could be intercepted, corrupted, amended, lost, destroyed, > arrive late or incomplete, or contain viruses. It is the recipient's > responsibility to ensure that e-mail transmissions and any attachments are > virus free. We do not accept liability for any damages or other > consequences caused by information that is intercepted, corrupted, amended, > lost, destroyed, arrives late or incomplete or contains viruses. > > ****************************************** > > > _________________________________________________ > Python.NET mailing list - PythonDotNet at python.org > https://mail.python.org/mailman/listinfo/pythondotnet > > > > This communication and any attachments contain information which is > confidential and may also be legally privileged. It is for the exclusive > use of the intended recipient(s). If you are not the intended recipient(s) > please note that any form of disclosure, distribution, copying, printing or > use of this communication or the information in it or in any attachments is > strictly prohibited and may be unlawful. If you have received this > communication in error, please return it with the title "received in error" > to postmaster at tokiomillennium.com and then permanently delete the email > and any attachments from your system. > > > > E-mail communications cannot be guaranteed to be secure or error free, as > information could be intercepted, corrupted, amended, lost, destroyed, > arrive late or incomplete, or contain viruses. It is the recipient's > responsibility to ensure that e-mail transmissions and any attachments are > virus free. We do not accept liability for any damages or other > consequences caused by information that is intercepted, corrupted, amended, > lost, destroyed, arrives late or incomplete or contains viruses. > > ****************************************** > > > _________________________________________________ > Python.NET mailing list - PythonDotNet at python.org > https://mail.python.org/mailman/listinfo/pythondotnet > -------------- next part -------------- An HTML attachment was scrubbed... URL: From anthoff at berkeley.edu Wed Apr 9 20:45:49 2014 From: anthoff at berkeley.edu (David Anthoff) Date: Wed, 9 Apr 2014 11:45:49 -0700 Subject: [Python.NET] Is there a way to use PythonDotNet within Pythonwin ? In-Reply-To: References: Message-ID: The version you can download from sourceforge doesn't work with .Net 4.5.1 (or at least import clr doesn't work from a normal python, maybe npython works). You might try to use the current development build from pythonnet.github.com, you can install that via pip install -pre pythonnet Best, David From: PythonDotNet [mailto:pythondotnet-bounces+anthoff=berkeley.edu at python.org] On Behalf Of Eric Dubreuil Sent: Tuesday, April 8, 2014 4:36 PM To: A list for users and developers of Python for .NET Subject: Re: [Python.NET] Is there a way to use PythonDotNet within Pythonwin ? Downloaded pythonnet-2.0-Beta0-clr4.0_140_py27_UCS2_x86.zip from http://sourceforge.net and unziped to C:\PythonNet On Tue, Apr 8, 2014 at 1:42 PM, David Anthoff > wrote: How did you install Python for .Net? From: PythonDotNet [mailto:pythondotnet-bounces+anthoff =berkeley.edu at python.org ] On Behalf Of Eric Dubreuil Sent: Tuesday, April 8, 2014 10:29 AM To: A list for users and developers of Python for .NET Subject: Re: [Python.NET] Is there a way to use PythonDotNet within Pythonwin ? Hi! I'm trying to run a Python script using Python for .NET from PythonWin but importing Python for .NET's clr in PythonWin always gives this error : >>> import clr ImportError: DLL load failed: %1 is not a valid Win32 application. I can program a Python script in PythonWin but I cannot run it from there. I go around this by saving the script's file and double-clicking its icon in Windows to run it... (Made sure Windows opens *.py files with Python for .NET's nPython.exe) Its working fine for me... Thanks for your answer. On Mon, Apr 7, 2014 at 1:37 PM, David Anthoff > wrote: Hi Eric, Python for .NET is just a python package, you should be able to use it from whatever IDE you want to. But I am not clear that answers your questions, what exactly do you want to do? Best, David From: PythonDotNet [mailto:pythondotnet-bounces+anthoff =berkeley.edu at python.org ] On Behalf Of Eric Dubreuil Sent: Friday, April 4, 2014 7:45 PM To: pythondotnet at python.org Subject: [Python.NET] Is there a way to use PythonDotNet within Pythonwin ? Hi! I'm new to Python for .NET I have been using Pythonwin (Python IDE and GUI Framework for Windows) for a while, see: http://starship.python.net/crew/mhammond/win32/ I would like to use Python for .NET with Pythonwin IDE. Is this possible ? How ? Thanks ! _________________________________________________ Python.NET mailing list - PythonDotNet at python.org https://mail.python.org/mailman/listinfo/pythondotnet _________________________________________________ Python.NET mailing list - PythonDotNet at python.org https://mail.python.org/mailman/listinfo/pythondotnet -------------- next part -------------- An HTML attachment was scrubbed... URL: From jgill at tokiomillennium.com Fri Apr 11 18:18:24 2014 From: jgill at tokiomillennium.com (John Gill) Date: Fri, 11 Apr 2014 16:18:24 +0000 Subject: [Python.NET] Deprecation warnings In-Reply-To: References: Message-ID: Thanks. Busy at PyCon the next few days, but will take a look next week. John From: PythonDotNet [mailto:pythondotnet-bounces+jgill=tokiomillennium.com at python.org] On Behalf Of Tony Roberts Sent: Wednesday, April 09, 2014 2:06 PM To: A list for users and developers of Python for .NET Subject: Re: [Python.NET] Deprecation warnings Hi John, I've just checked in a fix for this. You should be able to try it out by getting the latest from the develop branch of https://github.com/pythonnet/pythonnet and building it locally using setup.py, eg: >python setup.py install cheers, Tony On Wed, Apr 9, 2014 at 3:56 PM, John Gill > wrote: Thanks Tony, I am actually having more general weirdness with this. I have installs on different machines, some are giving me the deprecation warning, some are not. So, let me know if you cannot duplicate the warning, it may be an issue on my end. John From: PythonDotNet [mailto:pythondotnet-bounces+jgill=tokiomillennium.com at python.org] On Behalf Of Tony Roberts Sent: Wednesday, April 09, 2014 8:59 AM To: A list for users and developers of Python for .NET Subject: Re: [Python.NET] Deprecation warnings Hi Jon, add clr.AddReference("System.Collections") to your code before the import. I'll take a look at why that warning message doesn't have the correct assembly name. cheers, Tony On Wed, Apr 9, 2014 at 12:36 PM, John Gill > wrote: I just upgraded to pythonnet 2.0 - thanks to "pip install -pre pythonnet" Thanks for making that work. I am now getting these deprecation warnings: The module was found, but not in a referenced namespace. Implicit loading is deprecated. Please use clr.AddReference("System.Collections.Generic.List"). from System.Collections.Generic import List When I try suppressing this as suggested I get an error due to being unable to find the System.Collections.Generic.List assembly. Wondering how we are supposed to handle this in the future? John PS anyone heading to PyCon? This communication and any attachments contain information which is confidential and may also be legally privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying, printing or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful. If you have received this communication in error, please return it with the title "received in error" to postmaster at tokiomillennium.com and then permanently delete the email and any attachments from your system. E-mail communications cannot be guaranteed to be secure or error free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses. It is the recipient's responsibility to ensure that e-mail transmissions and any attachments are virus free. We do not accept liability for any damages or other consequences caused by information that is intercepted, corrupted, amended, lost, destroyed, arrives late or incomplete or contains viruses. ****************************************** _________________________________________________ Python.NET mailing list - PythonDotNet at python.org https://mail.python.org/mailman/listinfo/pythondotnet This communication and any attachments contain information which is confidential and may also be legally privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying, printing or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful. If you have received this communication in error, please return it with the title "received in error" to postmaster at tokiomillennium.com and then permanently delete the email and any attachments from your system. E-mail communications cannot be guaranteed to be secure or error free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses. It is the recipient's responsibility to ensure that e-mail transmissions and any attachments are virus free. We do not accept liability for any damages or other consequences caused by information that is intercepted, corrupted, amended, lost, destroyed, arrives late or incomplete or contains viruses. ****************************************** _________________________________________________ Python.NET mailing list - PythonDotNet at python.org https://mail.python.org/mailman/listinfo/pythondotnet This communication and any attachments contain information which is confidential and may also be legally privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying, printing or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful. If you have received this communication in error, please return it with the title "received in error" to postmaster at tokiomillennium.com and then permanently delete the email and any attachments from your system. E-mail communications cannot be guaranteed to be secure or error free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses. It is the recipient's responsibility to ensure that e-mail transmissions and any attachments are virus free. We do not accept liability for any damages or other consequences caused by information that is intercepted, corrupted, amended, lost, destroyed, arrives late or incomplete or contains viruses. ****************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From minkim1 at gmail.com Sat Apr 26 03:56:22 2014 From: minkim1 at gmail.com (Min Kim) Date: Fri, 25 Apr 2014 18:56:22 -0700 Subject: [Python.NET] WPF and XAML Message-ID: <08D38CDE-DF18-4B51-888B-B6546B28F13B@gmail.com> Python for .Net does not seem to support development of UIs in WPF/XAML. Google search shows one question several years ago but without reply. Is there a trick to making it work or is it in the "to be implemented" list? Thanks. From anthoff at berkeley.edu Mon Apr 28 20:41:07 2014 From: anthoff at berkeley.edu (David Anthoff) Date: Mon, 28 Apr 2014 11:41:07 -0700 Subject: [Python.NET] WPF and XAML In-Reply-To: <08D38CDE-DF18-4B51-888B-B6546B28F13B@gmail.com> References: <08D38CDE-DF18-4B51-888B-B6546B28F13B@gmail.com> Message-ID: Hi Min, I am not sure about that. Have you tried to just interact with the WPF object model from Python.Net? That might work. There is certainly nothing specific for WPF/XAML in Python.Net. I am not aware of anyone having specific plans on improving the Python.Net and WPF/XAML story. But, volunteers are obviously most welcome. Best, David -----Original Message----- From: PythonDotNet [mailto:pythondotnet-bounces+anthoff=berkeley.edu at python.org] On Behalf Of Min Kim Sent: Friday, April 25, 2014 6:56 PM To: pythondotnet at python.org Subject: [Python.NET] WPF and XAML Python for .Net does not seem to support development of UIs in WPF/XAML. Google search shows one question several years ago but without reply. Is there a trick to making it work or is it in the "to be implemented" list? Thanks. _________________________________________________ Python.NET mailing list - PythonDotNet at python.org https://mail.python.org/mailman/listinfo/pythondotnet From btribble at ea.com Mon Apr 28 22:28:20 2014 From: btribble at ea.com (Tribble, Brett) Date: Mon, 28 Apr 2014 20:28:20 +0000 Subject: [Python.NET] WPF and XAML In-Reply-To: References: <08D38CDE-DF18-4B51-888B-B6546B28F13B@gmail.com> Message-ID: I'm sure I've interacted with WPF apps written in C# from python.net. I don't think I've tried to write one from scratch. I know that I had trouble trying to get Iron Python UI code working in python.net because of how I.P. uses attributes to do some of the UI markup, and this did not come through from regular python correctly. Remember that you will need to compile python.net using a version of .NET that supports WPF (3.0 or greater). -----Original Message----- From: PythonDotNet [mailto:pythondotnet-bounces+btribble=ea.com at python.org] On Behalf Of David Anthoff Sent: Monday, April 28, 2014 11:41 AM To: 'A list for users and developers of Python for .NET' Subject: Re: [Python.NET] WPF and XAML Hi Min, I am not sure about that. Have you tried to just interact with the WPF object model from Python.Net? That might work. There is certainly nothing specific for WPF/XAML in Python.Net. I am not aware of anyone having specific plans on improving the Python.Net and WPF/XAML story. But, volunteers are obviously most welcome. Best, David -----Original Message----- From: PythonDotNet [mailto:pythondotnet-bounces+anthoff=berkeley.edu at python.org] On Behalf Of Min Kim Sent: Friday, April 25, 2014 6:56 PM To: pythondotnet at python.org Subject: [Python.NET] WPF and XAML Python for .Net does not seem to support development of UIs in WPF/XAML. Google search shows one question several years ago but without reply. Is there a trick to making it work or is it in the "to be implemented" list? Thanks. _________________________________________________ Python.NET mailing list - PythonDotNet at python.org https://mail.python.org/mailman/listinfo/pythondotnet _________________________________________________ Python.NET mailing list - PythonDotNet at python.org https://mail.python.org/mailman/listinfo/pythondotnet