Tim Roberts wrote:
>Gertjan Klein wrote:
>> (I wish I could somehow pass icons to the
>> submenus, but it seems that for that you need completely owner-drawn
>> menu items, and that seems like a daunting task!)
>
>Correct. I decided against that in my own version.
Well, I might have a go at it j
Gertjan Klein wrote:
> Yes. However, pywin32 is the one that holds the pointer to the object,
> not Windows COM (at least, I assume this is the case).
Well, only at the most technical level. The most useful mental model is
to think of the Python object as being the thing that gets passed to the
C
Tim Roberts wrote:
>It's not that easy. In Python, an object's method functions are just
>another piece of data in the object. When a client instantiates your
>COM object, the Python code creates an instance of your object,
>including pointers to the intermediate language for the method
>functio
Gertjan Klein wrote:
> Ah, but this is what confuses me. I don't have a DLL: I have a .py file,
> which gets interpreted by python. The DDLs that get loaded are
> python25.dll and two pywin32 dlls (don't remember offhand which). So,
> when the extension is first loaded, pywin32 must load python, co
Tim Golden wrote:
>And also the win32traceutil facility which comes with the pywin32
>extensions can help you out here.
[...]
>Insanely helpful when you're trying to debug, an ISAPI extension
>module.
Thanks for that, I just tried it and it works as advertised. Very useful
indeed!
Regards,
Gertj
Gertjan Klein wrote:
Randy Syring wrote:
Maybe I am missing something, but I use the "Open Command Window Here"
power toy from:
You're missing something. ;-) I have used that one too, for years, and
it works reasonably well -- until you have multiple Python versions
installed, and w
Randy Syring wrote:
>Maybe I am missing something, but I use the "Open Command Window Here"
>power toy from:
You're missing something. ;-) I have used that one too, for years, and
it works reasonably well -- until you have multiple Python versions
installed, and want to compile extensions for a
Vernon Cole wrote:
>sys.stdout works like a normal Python file, so you should be able to assign
>a new file object to it.
Yes, that looks like a clean and simple approach, that I may end up
using, if nothing else for debugging.
Thanks,
Gertjan.
___
p
Tim Roberts wrote:
>I was going to respond "no" immediately, but now you've got me
>thinking. Explorer loads the DLL, instantiates the COM object, and
>keeps it loaded forever. I think that fact alone makes it impossible;
>even if you added a backdoor to reload the module, you still have an
>obj
Will the pywin32-213.win32-py3.0.exe binary available from SF work for
Python 3.1 (I suspect the answer is "no" :-() If not,is there an ETA
for a Python 3.1 build? Now that 3.1 is out, I'm seriously considering
switching my default Python to be Python 3, and pywin32 is one of the
key things I need.
Tim Golden wrote:
Thomas Heller wrote:
Gertjan Klein schrieb:
2) I see print statements in the source code, but I have no idea where
they go; I checked the event log, but they are not there. Are they
logged anywhere? If not, why are they there to begin with?
Any other tip on how to effectively
Thomas Heller wrote:
Gertjan Klein schrieb:
2) I see print statements in the source code, but I have no idea where
they go; I checked the event log, but they are not there. Are they
logged anywhere? If not, why are they there to begin with?
Any other tip on how to effectively debug this stuff w
Gertjan Klein schrieb:
>>> 2) I see print statements in the source code, but I have no idea where
>>> they go; I checked the event log, but they are not there. Are they
>>> logged anywhere? If not, why are they there to begin with?
>>>
>>> Any other tip on how to effectively debug this stuff would
siddhartha veedaluru wrote:
Hi,
I have used the following code snippet to copy files or folder from remote
machine to local machine.
I have used the same method to copy files to remote machine.
Can some one point me to solve this?
Am I missing something? Or can't you just catch the permissi
Hi,
I have used the following code snippet to copy files or folder from remote
machine to local machine.
I have used the same method to copy files to remote machine.
Can some one point me to solve this?
Or
Help needed to copy files or folders from remote machne ot lcoal one and
also remote to
15 matches
Mail list logo