chitrark commited on
Commit
ce86bd1
·
verified ·
1 Parent(s): c4d0602

Delete print module

Browse files
Files changed (1) hide show
  1. print_modules.py +0 -12
print_modules.py DELETED
@@ -1,12 +0,0 @@
1
- import olmocr, pkgutil, inspect
2
-
3
- print("olmocr package path:", olmocr.__file__)
4
- print("Submodules:")
5
- for m in pkgutil.walk_packages(olmocr.__path__, prefix="olmocr."):
6
- print(" -", m.name)
7
-
8
- # Try to locate convert_files
9
- for m in pkgutil.walk_packages(olmocr.__path__, prefix="olmocr."):
10
- mod = __import__(m.name, fromlist=["*"])
11
- if hasattr(mod, "convert_files"):
12
- print("FOUND convert_files in", m.name)