def fileLine(file):
    with open(file, 'r') as f:
        for line in f:
            print(line)
def fileLine2(file):
    with open(file, 'r') as f:
        for line in f:
            print(line.strip())
def fileLine3(file):
    with open(file, 'r') as f:
        for line in f:
            print(line.strip().split())
def fileLine4(file):
    with open(file, 'r') as f:
        for line in f:
            print(line.strip().split(','))
def fileLine5(file):
    with open(file, 'r') as f:
        for line in f:
            print(line.strip().split(',')[0])
def fileLine6(file):
    with open(file, 'r') as f:
        for line in f:
            print(line.strip().split(',')[1])

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code