How to add type "int" to string ?
Erik Max Francis
max at alcyone.com
Sun Jul 15 14:31:39 EDT 2001
shuibo wrote:
> Hello all :
> in my program I want to give a char variable a Hex value , for example
> :
> a = "Hello World"
> a = a + 0x00
> but it display "cannot add type int to string"
> what can I do ?
What are you intending to do? It's not clear from your example.
--
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/ \ So look into my eyes / I won't tell you lies
\__/ Neneh Cherry
Alcyone Systems / http://www.alcyone.com/
Alcyone Systems, San Jose, California.
More information about the Python-list
mailing list