Commit 9edf3802 authored by zhougaofeng's avatar zhougaofeng
Browse files

Update ofd_parser.py

parent fef52eb3
...@@ -353,6 +353,5 @@ class OFDParser(object): ...@@ -353,6 +353,5 @@ class OFDParser(object):
if __name__ == "__main__": if __name__ == "__main__":
with open(r"E:\code\easyofd\test\增值税电子专票5.ofd", "rb") as f: pass
ofdb64 = str(base64.b64encode(f.read()), "utf-8")
print(OFDParser(ofdb64)())
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment