(self, name)
| 22 | """ |
| 23 | |
| 24 | def find(self, name): |
| 25 | path = os.path.join(support, name) |
| 26 | if os.path.exists(f"{path}.py"): |
| 27 | path = f"{path}.py" |
| 28 | elif os.path.exists(path): |
| 29 | path = os.path.join(path, "__init__.py") |
| 30 | spec = spec_from_file_location(name, path) |
| 31 | return spec |
| 32 | |
| 33 | |
| 34 | class Loader_: |