jfz-2023-s473616/my_helpers/fsa_description_helper.py

9 lines
288 B
Python
Raw Normal View History

2023-11-13 15:02:07 +01:00
import os
alphabet = 'abcdefghijklmnopqrstuvwxyz '
with open(os.path.join(os.path.dirname(__file__), 'fsa_description.arg'), 'w') as file:
for c in alphabet:
for i in range(0, 6):
file.write(f'{i}\t0\t{c}\n')
file.write(f'6\t6\t{c}\n')
file.write('6')