如评论中所述 trainer.cv.url 相反,也有其他的方法,看看它 here .
trainer.cv.url
古德拉克
只需拆分并添加空白:
a = " " output = [e+a for e in given_string.split(a) if e] output[len(output)-1] = output[len(output)-1][:-1]
最后一行是删除空间后谢谢!