#target_filename
base_source_dir = 'C:\\SourceFiles\\'
base_target_dir = 'C:\\TargetFiles\\'
###read the filename_convention.txt file and put it into an array'
parserlines = [line.strip().split(",") for line in open("C:\\Python34\\filename_convention.txt", 'r')]
parserarray = 'loop through each line from the array parserlines and split by comma'
# account for the headerline
好的,我有一个文件,列表基本上是这样的
^{pr2}$我想读一行【】然后能得到每个人的名字。在
我是python新手,所以任何帮助都是非常感谢的!在
相关问题 更多 >
编程相关推荐