Goodness, you're a nice friendly lot aren't you!? I saw that and I
realise that ActivePython COMES with support for Windows. But it
doesn't say that it forces scripts you create with it to load modules
you haven't implicitly imported yourself! It doesn't say that a
script might run in PythonWin
Hi,
Sorry, I'm not trying to make things hard! I just can't figure why it
works when run from PythonWin and not from Python - PythonWin MUST load
some extra library.
Anyway, I have finally fixed it by adding import win32com to the top of
the script. Am guessing the DLL uses COM and PythonWin mu
Thomas Heller wrote:
> > This is all I get:
> >
> > error 250477278
> > Traceback (most recent call last):
> > File "script1.py", line 5, in ?
> > Inst = lib.Initialize(0)
> > WindowsError: exception code 0xeedfade
> >
> > I get this when running python.exe script1.py
> >
> > ** When run fro
On Fri, 03 Feb 2006 07:00:37 -0800, marcus.tettmar wrote:
> Hi,
>
> This is all I get:
>
> error 250477278
What is this line? That doesn't look like part of a Python traceback. I
suppose it is possible that the DLL is printing it before the exception is
raised. Or did you type it yourself?
>
Unfortunately not. Is there any doc anywhere that shows how to make
the script run from the command line the same way it does within
PythonWin?
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] writes:
> Hi,
>
> This is all I get:
>
> error 250477278
> Traceback (most recent call last):
> File "script1.py", line 5, in ?
> Inst = lib.Initialize(0)
> WindowsError: exception code 0xeedfade
>
> I get this when running python.exe script1.py
>
> ** When run from inside
Hi,
This is all I get:
error 250477278
Traceback (most recent call last):
File "script1.py", line 5, in ?
Inst = lib.Initialize(0)
WindowsError: exception code 0xeedfade
I get this when running python.exe script1.py
** When run from inside PythonWin it runs beautifully and returns with
no
On Fri, 03 Feb 2006 02:29:03 -0800, marcus.tettmar wrote:
> I'm using ctypes and loading a DLL and running a DLL function. As I
> say it works perfectly with no errors when I run from PythonWin but
> gives the following exception when run from command line.
>
> WindowsError: exception code 0xeed
I'm using ctypes and loading a DLL and running a DLL function. As I
say it works perfectly with no errors when I run from PythonWin but
gives the following exception when run from command line.
WindowsError: exception code 0xeedfade
I can use the DLL with no issues in other languages too. It wo
[EMAIL PROTECTED] wrote:
> Hi,
>
> I have a script that runs fine when I run it from within PythonWin but
> causes a WindowsError: Exception when I try to run it from the command
> line using python.exe. What is PythonWin doing differently?
Hello Marcus,
Can you post the full exception, and pre
[EMAIL PROTECTED] wrote:
> I have a script that runs fine when I run it from within PythonWin but
> causes a WindowsError: Exception when I try to run it from the command
> line using python.exe. What is PythonWin doing differently?
is that the entire traceback ?
what is the script doing when y
Hi,
I have a script that runs fine when I run it from within PythonWin but
causes a WindowsError: Exception when I try to run it from the command
line using python.exe. What is PythonWin doing differently?
--
http://mail.python.org/mailman/listinfo/python-list
12 matches
Mail list logo