阅读背景:

在Python中将字符串转换为列表

来源:互联网 

I have a text document that contains a list of numbers and I want to convert it to a list. Right now I can only get the entire list in the 0th entry of the list, but I want each number to be an element of a list. Does anyone know of an easy way to do this in Python?I have a text document that contains a list of




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: