Python: Write a list of tuples to a file

前端 未结 6 1949
野性不改
野性不改 2020-12-13 10:11

How can I write the following list:

[(8, \'rfa\'), (8, \'acc-raid\'), (7, \'rapidbase\'), (7, \'rcts\'), (7, \'tve-announce\'), (5, \'mysql-im\'), (5, \'teln         


        
6条回答
提交回复
热议问题