mercredi 8 septembre 2021

How it is running python problem string method [closed]

fhand = open('mbox-short.txt')
count = 0
for line in fhand:
        if line.startswith('From:'):
        print(line)

Aucun commentaire:

Enregistrer un commentaire