Organize the PDF invoice file into a CSV file for further manipulation.
将 PDF 发票文件组织为 CSV 文件,以便进一步操作。
- Paste the
main.py
into the directory filled with the invoice file in PDF. - Modify either the Python script or the invoice files' names to suit each other. (
<YYMMDD>-<name>-<price>.pdf
in default) - Run the
main.py
, a file namedoutput.csv
shall appear in the same directory. - Play with the CSV file.
- 将
main.py
粘贴到 PDF 格式的发票文件所在的目录中。 - 修改 Python 脚本或发票文件的名称以使其相互匹配。(默认是
<YYMMDD>-<name>-<price>.pdf
) - 运行
main.py
,将在同一目录下出现一个名为output.csv
的文件。 - 使用 CSV 文件。