作者darklimit ()
看板Python
标题[问题] python断词
时间Sun May 12 13:05:09 2013
想请问一下
现在资料是这样
The Hitcher 1986 , Horror Thriller , 7.2
Beyond Therapy 1987 , Comedy , 4.6
以逗号断句的话会变成这样
['The Hitcher 1986 , Horror Thriller , 7']
['2', 'Beyond Therapy 1987 , Comedy , 4']
我要如何将数字的资料合并再一起断句???
谢谢
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 118.160.180.76
1F:→ darklimit:@@ 没事了,已处理完毕,是我自己搞错了,谢谢! 05/12 13:08
2F:推 tiefblau:看不太懂…想要的output是?现在是以逗号还是点断? 05/12 13:09
3F:→ darklimit:是要output啦,但是我自己搞错了,已经处理完毕,XD感谢~ 05/12 13:11