IWETHEY v. 0.3.0
|
TODO
1,095 registered users | 0
active users
| 0 LpH |
Statistics
Login
|
Create New User
Welcome to IWETHEY!
IWETHEY Home
/
IWETHEY Board
/
Theory and Practice of Programming Forum
/
Do you mean this?
Post #251,629
by
admin
4/10/06 6:05:19 PM
Reply
Do you mean this?
The dictionary looks like {"SIG": ["SIG1", "SIG2", etc.]}
Because a string doesn't have the append command.
If that's what you mean:
output_buffers = {}
output_buffers.setdefault(subsystem, []).append(device)
Regards,
-scott anderson
"Welcome to Rivendell, Mr. Anderson..."
Creating a dictionary key on demand
- (
pwhysall
)
- (1)
- April 10, 2006, 06:59:45 AM EDT
Do you mean this?
- (
admin
)
- April 10, 2006, 06:05:19 PM EDT
i
we
they
.org
Spiderman! Spiderman! Does whatever a spider can!
54 ms