Re: Python on Windows extensions

2002-09-23 Thread Patricia J. Hawkins
> "BP" == Bruce Peterson <[EMAIL PROTECTED]> writes: BP> Yes BP>after some further investigation it appears that the majority of BP> bitmap functions occur in the Windows gdi32.dll library. Using Mark BP> Hammond's notation the corresponding extension should be win32gdi.pyd BP> -- which

Re: using reload() with "from ... import *"

2002-09-23 Thread Jeff Shannon
John Mark Agosta wrote: > Matthew - > > Yes, its pretty clever, I tried it. I noticed that on subsequent edits you > don't have to re-execute the > "import ftplib", which is convenient if you are entering this manually. Note that there are other reasons for avoiding "from module import *", and

Re: Python on Windows extensions

2002-09-23 Thread Bruce Peterson
Yes   after some further investigation it appears that the majority of bitmap functions occur in the  Windows gdi32.dll library. Using Mark Hammond's notation the corresponding extension should be win32gdi.pyd -- which doesn't exist. I'm trying to do an programmatic screen capture to a file (so I

Re: using reload() with "from ... import *"

2002-09-23 Thread John Mark Agosta
Matthew - Yes, its pretty clever, I tried it. I noticed that on subsequent edits you don't have to re-execute the "import ftplib", which is convenient if you are entering this manually. Thanks -john mark At 07:55 AM 9/24/2002 +1200, Matthew Sherborne wrote: >I think this will work... > >fr

Re: using reload() with "from ... import *"

2002-09-23 Thread Matthew Sherborne
I think this will work... from ftplib import * ... # reload code below import ftplib reload(ftplib) from ftplib import * That should update all the stuff that was imported by ftplib the first time. But you'll have to call it in global space in order to update global space. I vaguely

Re: How to call a procedure in an exe file

2002-09-23 Thread Matthew Sherborne
You can't call procs in exe's like you can in dlls. If the program supports COM or ActiveX automation or DDE you could possibly control it with that. Or you could use the PyWin32 api to control the mouse to click on the button, but you'd have to know where it is. Another way is to use a progra

Re: using reload() with "from ... import *"

2002-09-23 Thread Jeff Shannon
John Mark Agosta wrote: > During interactive development one can reload modules that have been > imported and modified by doing a reload(module_name). How does this work > if the module was imported into the main module with the "from ... import > *" form? Is there a way to reload() them? Not

How to call a procedure in an exe file

2002-09-23 Thread A
Hi, I know that it is possible to call a function in DLL library( even though I have never tried it) from Python but is it possible to call a procedure in an exe program? I have a program that downloads some files( that was written in Delphi, we bought that program compiled already in exe). I m