Improve package_list.py to output a table

This commit is contained in:
Ayato Sasakura 2022-05-21 07:49:28 -07:00
parent dc231ac656
commit d4ba9fccad

View File

@ -19,4 +19,6 @@ for (i,line) in enumerate(lines):
found_packages.extend(packages)
backslashed = line.endswith('\\')
print('\n'.join(found_packages))
print('|パッケージ名|')
print('|:-|')
print('\n'.join(f'|{p}|' for p in found_packages))