Discussion:
[Python.NET] Is there a way to use PythonDotNet within Pythonwin ?
Eric Dubreuil
2014-04-05 02:45:13 UTC
Permalink
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 !
David Anthoff
2014-04-07 17:37:23 UTC
Permalink
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-+ZN9ApsXKcEdnm+***@public.gmane.org] On Behalf Of
Eric Dubreuil
Sent: Friday, April 4, 2014 7:45 PM
To: pythondotnet-+ZN9ApsXKcEdnm+***@public.gmane.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 !
Eric Dubreuil
2014-04-08 17:29:13 UTC
Permalink
Hi!

I'm trying to run a Python script using Python for .NET from PythonWin but
Post by David Anthoff
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.
Post by David Anthoff
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=
*Sent:* Friday, April 4, 2014 7:45 PM
*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
http://starship.python.net/crew/mhammond/win32/
I would like to use Python for .NET with Pythonwin IDE.
Is this possible ?
How ?
Thanks !
_________________________________________________
https://mail.python.org/mailman/listinfo/pythondotnet
David Anthoff
2014-04-08 17:42:21 UTC
Permalink
How did you install Python for .Net?



From: PythonDotNet
[mailto:pythondotnet-bounces+anthoff=berkeley.edu-+ZN9ApsXKcEdnm+***@public.gmane.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
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 <anthoff-TVLZxgkOlNX2fBVCVOL8/***@public.gmane.org
<mailto:anthoff-TVLZxgkOlNX2fBVCVOL8/***@public.gmane.org> > 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
<mailto:pythondotnet-bounces%2Banthoff> =berkeley.edu-+ZN9ApsXKcEdnm+***@public.gmane.org
<mailto:berkeley.edu-+ZN9ApsXKcEdnm+***@public.gmane.org> ] On Behalf Of Eric Dubreuil
Sent: Friday, April 4, 2014 7:45 PM
To: pythondotnet-+ZN9ApsXKcEdnm+***@public.gmane.org <mailto:pythondotnet-+ZN9ApsXKcEdnm+***@public.gmane.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 !
Eric Dubreuil
2014-04-08 23:36:11 UTC
Permalink
Downloaded
pythonnet-2.0-Beta0-clr4.0_140_py27_UCS2_x86.zip
from http://sourceforge.net
and unziped to C:\PythonNet
Post by David Anthoff
How did you install Python for .Net?
*From:* PythonDotNet [mailto:pythondotnet-bounces+anthoff=
*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
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.
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=
*Sent:* Friday, April 4, 2014 7:45 PM
*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
http://starship.python.net/crew/mhammond/win32/
I would like to use Python for .NET with Pythonwin IDE.
Is this possible ?
How ?
Thanks !
_________________________________________________
https://mail.python.org/mailman/listinfo/pythondotnet
_________________________________________________
https://mail.python.org/mailman/listinfo/pythondotnet
David Anthoff
2014-04-09 18:45:49 UTC
Permalink
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-+ZN9ApsXKcEdnm+***@public.gmane.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 <anthoff-TVLZxgkOlNX2fBVCVOL8/***@public.gmane.org
<mailto:anthoff-TVLZxgkOlNX2fBVCVOL8/***@public.gmane.org> > wrote:

How did you install Python for .Net?



From: PythonDotNet [mailto:pythondotnet-bounces+anthoff
<mailto:pythondotnet-bounces%2Banthoff> =berkeley.edu-+ZN9ApsXKcEdnm+***@public.gmane.org
<mailto:berkeley.edu-+ZN9ApsXKcEdnm+***@public.gmane.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
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 <anthoff-TVLZxgkOlNX2fBVCVOL8/***@public.gmane.org
<mailto:anthoff-TVLZxgkOlNX2fBVCVOL8/***@public.gmane.org> > 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
<mailto:pythondotnet-bounces%2Banthoff> =berkeley.edu-+ZN9ApsXKcEdnm+***@public.gmane.org
<mailto:berkeley.edu-+ZN9ApsXKcEdnm+***@public.gmane.org> ] On Behalf Of Eric Dubreuil
Sent: Friday, April 4, 2014 7:45 PM
To: pythondotnet-+ZN9ApsXKcEdnm+***@public.gmane.org <mailto:pythondotnet-+ZN9ApsXKcEdnm+***@public.gmane.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-+ZN9ApsXKcEdnm+***@public.gmane.org
<mailto:PythonDotNet-+ZN9ApsXKcEdnm+***@public.gmane.org>
https://mail.python.org/mailman/listinfo/pythondotnet

Loading...