fibonaccios/bin/__init__.py
2022-11-30 03:23:40 +00:00

6 lines
168 B
Python

import os
imports = [ i[:-3] for i in os.listdir('/bin/') if i.endswith('.py') and not '__' in i ]
for module in imports:
exec(f'import bin.{module} as {module}')