[python-win32] python exe from dll

2006-05-03 Thread le dahut
Hello, I've build a .dll with Dev-Cpp and a python app (compiled with py2exe). When I run the python app, everything works fine. But when I run it via the dll (Createprocess() or system("app.exe") have the same result) I get an "app.exe.log" file which indicates an "ImportError: No module name

[python-win32] dualview/extended desktop settings with win32api

2006-05-03 Thread Stefan Rank
Hi, I am trying to write scripts for changing the "extended desktop" settings in windows. More specifically: I'd like to have a script for toggling between "laptop-screen-only" and "extended-desktop-with-the-secondary-monitor-bottom-right-and- please-don't-forget-the-arrangement-every-time-I-op

[python-win32] pythonwin 204 editor crash

2006-05-03 Thread Robin Becker
I see the error below when trying to edit this file - _flightClass = {'first':['A','F','G','P'], 'business':['C','D','I','J','Z'], 'economy':['B','E','H','K'] } class ItemMapping(dict): def __setattr__(self,

Re: [python-win32] adding icon in an exe

2006-05-03 Thread Graeme Glass
Great, thanks to the both of you, very helpful!! I had found a interim work around, (not programmable, using GoRC and Resource Hacker) and so was not happy with it, this is of great help, thank you. Graeme On 5/3/06, Ralf Schmitt <[EMAIL PROTECTED]> wrote: > Mark Hammond schrieb: > >> Does anyone

Re: [python-win32] adding icon in an exe

2006-05-03 Thread Ralf Schmitt
Mark Hammond schrieb: >> Does anyone know of a way to add an icon to an existing .exe file on >> win32 platform using win32all package? > > With some pain :( You need to put together the .ico structure yourself and > use the BeginUpdateResource() etc win32 functions. The only working code I > kn