Python GUIs
Gerald Klix
Gerald.Klix at klix.ch
Wed Sep 21 15:03:28 EDT 2005
if you write
B = '\x12','\x32'
you get an immutable tuple.
To get a mutable list use:
B = [ '\x12','\x32' ]
HTH,
Gerald
Tuvas schrieb:
> As a bit more of an update, I have decided to create a list of strings,
> but am having a problem. To illistrate this in a simple manner.
>
> B='\x12','\x32'
> B[0]='\x12'
>
> I cannot get this to work, and I need to get it to work somehow. How
> can I make it happen? Is there a function that I should use, a special
> trick, etc? Or is there just no way to make it work? Thanks!
>
--
GPG-Key: http://keyserver.veridis.com:11371/search?q=0xA140D634
More information about the Python-list
mailing list