Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def schedule():
- d = {'math' : '8:00', 'linguistics' : '9:30', 'germam' : '11:10'}
- with open('template.txt', 'w') as f:
- #file = open('template.txt', 'w')
- for i in f.readlines(): #считывает из файла все строки и возвращает его
- key, value = i.strip().split(':')
- print(f)
- schedule()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement