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
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
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
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
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