Magnus Lycka <[EMAIL PROTECTED]> wrote: >rbt wrote: >> data = ['0', 'a', '1', 'b', '2', 'c',\ >> '3', 'd', '4', 'e', '5', 'f',\ >> '6', 'g', '7', 'h', '8', 'i',\ >> '9', 'j', '~', '!', '@', '#',\ >> '$', '%', '^', '&', '*', ';'] >> > >Note that the backslashes are redundant between pairs >of [ ], ( ) or { }. Just write: > > data = ['0', 'a', '1', 'b', '2', 'c', > '3', 'd', '4', 'e', '5', 'f', > '6', 'g', '7', 'h', '8', 'i', > '9', 'j', '~', '!', '@', '#', > '$', '%', '^', '&', '*', ';'] > > >(Not that it solves your disk wiping issue.)
This is a lot easier to type: data = list("[EMAIL PROTECTED]&*;") -- - Tim Roberts, [EMAIL PROTECTED] Providenza & Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list