trouble with using python dictionaries
Goto page Previous 1, 2
|
| View previous topic :: View next topic |
| Author |
Message |
kadamat
Joined: 01 Jun 2006 Posts: 88
|
Hmm, okay, why should that make a difference though
Okay ... |
| |
|
|
|
|
Gladis
Joined: 24 May 2006 Posts: 108
|
| kadamat, well, for one, I can't see whitespace in that paste :) |
| |
|
|
kadamat
Joined: 01 Jun 2006 Posts: 88
|
There is a tab in the middle, but only one
Key = "\t".join((record[0],record[1])) |
| |
|
|
Gladis
Joined: 24 May 2006 Posts: 108
|
| kadamat, regardless of how you store the key, print repr(key) instead of the key directly. |
| |
|
|
kadamat
Joined: 01 Jun 2006 Posts: 88
|
| Thanks :-) |
| |
|
|
|
|