如何在.virtualenv中执行我的glob命令

时间:2019-07-16 18:10:23

标签: python-3.x

我不确定如何执行通过vim编写的glob脚本。

import glob

glob.glob('igm/projects/Water_Contamination/input', '*.gz')
glob.glob('igm/projects/Water_Contamination/output/matching_output', '*.gz')
glob.glob('igm/projetcs/Water_Contamination/output/nonmatching_output', '*.gz')
glob.glob('igm/projects/Water_Contamination/references', '*txt', '*gz', '*fatsa')
glob.glob('igm/projects/Water_Contamination/stats', '*.txt')


def build_command(args):    
    input = glob(args.input)
    matching_output = glob(args.matching_output)
    nonmatching_output = glob(args.nonmatching_output)
    stats = glob(args.stats)
    reference = glob(args.reference)

0 个答案:

没有答案