Destructive Windows Script

Magnus Lycka lycka at carmen.se
Wed Jun 8 07:50:21 EDT 2005


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.)



More information about the Python-list mailing list