A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/332646.html below:

Python GUIs

Python GUIs Python GUIsGerald 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4