I'm afraid I haven't recently used the profiler with win32com. I have
recently used hotshot (which works quite well), but not with
"win32com.client.dynamic" objects. I've no idea where that error is coming
from.
I'm not sure of the real issue, but I do note that the problem occurs when
building
Thank you all for your suggestions. Seems like i had this all figured out...
But now I am running into another problem. I was originally planning
to use this on a game (final fantasy 7, in fact). I capture keystrokes
in the system, then send them over the net and generate them on the
remote comp,
On Apr 4, 2005 5:29 PM, Tim Roberts <[EMAIL PROTECTED]> wrote:
> If I needed to refer to an 89MB disk file in an
> object, I would replace the data with the file name before pickling. I
> thought pickle recognized a magic method name so the object could "help"
> put itself into a picklable state,
I'm try to run the profiler on a program that uses win32com.client to
access the Msxml2.DOMDocument COM class to load an XML document. I
have attaced the stack trace I get when I run:
python.exe -m profile profileTest.py
I have also attached profileTest.py. The profiler seems to work fi
Chi Tai wrote:
Cool, thanks a lot :)
this is absolutely the better solution.
The "struct" module is a very helpful tool when you're doing Win32 API
programming like this, especially with the new changes that make it more
difficult to manipulate binary values as dwords. It would be worth your
Cool, thanks a lot :)
this is absolutely the better solution.
Chi-Tai
Tim Roberts schrieb:
Chi Tai wrote:
> Thanks Tim,
>
> i also tried this, but this call returns the following error:
> "DeviceIoControl() argument 3 must be string or read-only buffer,
> not int"
Yes, I should have realized. Y
Chi Tai wrote:
Thanks Tim,
i also tried this, but this call returns the following error:
"DeviceIoControl() argument 3 must be string or read-only buffer, not
int"
Yes, I should have realized. You need to convert this into a 4-byte string:
import struct
handle = struct.pack("
ret = Devi
Hi im using Python-2.3.5.exe and Fnorb-1.3.win32.exe and i want to use
the fnidl to compile idl files.
The instalation of fnorb goes ok, but when i execute fnidl it comes this:
C:\Python23\Scripts>fnidl
Traceback (most recent call last):
File "C:\Python23\Lib\site-packages\Fnorb\script\fnidl.py",
On Sun, 03 Apr 2005 13:32:01 +0200, Chi Tai <[EMAIL PROTECTED]> wrote:
i've found the faulty.
For those interested in: win32file.DeviceIoControl transfers a string or
character array, thus a numerical value like a handle is also transfered
as a character array and the cast operation within the driv
On Sun, 3 Apr 2005 12:37:40 +0200, Graeme Glass <[EMAIL PROTECTED]>
wrote:
Could anyone tell me if it is possible to create a sparse file on
win32 platform using python, and if so how?
Sparse files are only supported on Windows 2000 and more, on NTFS
partitions. You will not be able to use
function ord() would get the int value of the char. and in case you
want to convert back after playing with the number, function chr()
does the trick
>>> ord('a')
97
>>> chr(97)
'a'
>>> chr(ord('a') + 3)
'd'
>>>
On Apr 4, 2005 9:16 AM, Chi Tai <[EMAIL PROTECTED]> wrote:
> Hello,
>
> how can i ma
Hi im using Python-2.3.5.exe and Fnorb-1.3.win32.exe and i want to use
the fnidl to compile idl files.
The instalation of fnorb goes ok, but when i execute fnidl it comes this:
C:\Python23\Scripts>fnidl
Traceback (most recent call last):
File "C:\Python23\Lib\site-packages\Fnorb\script\fnidl.py"
On Mar 30, 2005 4:28 PM, Daniel F <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to use win32gui.SendMessage API (or PostMessage), and
> cannot figure out why
> it is not working. I would appreciate any help! Simple test script I
> am using is included below.
>
> I am using pywin32-203 and pyth
help(ord)
On Apr 4, 2005 4:16 PM, Chi Tai <[EMAIL PROTECTED]> wrote:
> Hello,
>
> how can i make an integer value from a character value like this.
>
> string = "Hallo"
> integerval = string[0]
> i = integerval + 2 #this does not work because integerval is not an
> integer value
>
> i want the
Hello,
how can i make an integer value from a character value like this.
string = "Hallo"
integerval = string[0]
i = integerval + 2 #this does not work because integerval is not an
integer value
i want the in integervalue the intvalue of the hexvalue 0x48 ( the
character-value of "H")
Is there a si
15 matches
Mail list logo