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
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 in
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 python 2.4,
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\Scriptsfnidl
Traceback (most recent call last):
File C:\Python23\Lib\site-packages\Fnorb\script\fnidl.py,
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 make an integer
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. You
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
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, but I
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