mirror of
https://github.com/brain-hackers/wiki.brainux.org
synced 2024-12-23 04:30:05 +09:00
Improve package_list.py to output a table
This commit is contained in:
parent
dc231ac656
commit
d4ba9fccad
@ -19,4 +19,6 @@ for (i,line) in enumerate(lines):
|
|||||||
found_packages.extend(packages)
|
found_packages.extend(packages)
|
||||||
backslashed = line.endswith('\\')
|
backslashed = line.endswith('\\')
|
||||||
|
|
||||||
print('\n'.join(found_packages))
|
print('|パッケージ名|')
|
||||||
|
print('|:-|')
|
||||||
|
print('\n'.join(f'|{p}|' for p in found_packages))
|
Loading…
Reference in New Issue
Block a user