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 <anthoff@berkeley.edu> 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@python.org] On Behalf Of Eric Dubreuil
Sent: Friday, April 4, 2014 7:45 PM
To: pythondotnet@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@python.org
https://mail.python.org/mailman/listinfo/pythondotnet