This commit is contained in:
zhouyr9
2025-12-31 22:05:15 +08:00
parent ce10a55c71
commit a7ec9c0e6d
2 changed files with 218 additions and 1 deletions
+3
View File
@@ -319,5 +319,8 @@ if __name__ == "__main__":
path = sys.argv[1]
else:
path = r'C:\Users\zhouyr9\Documents\2025.mht'
with open(path, "r", encoding='latin-1') as f:
content = f.read()
out = load_OneNote_document(path)
print(f"Found {len(out['pages'])} pages")