How can I write the following list:
[(8, \'rfa\'), (8, \'acc-raid\'), (7, \'rapidbase\'), (7, \'rcts\'), (7, \'tve-announce\'), (5, \'mysql-im\'), (5, \'teln
open('filename', 'w').write('\n'.join('%s %s' % x for x in mylist))