User Tools

Site Tools


python:exelprocess

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
python:exelprocess [2021/04/10 08:26] – [Error Parse UTF-8 file] adminpython:exelprocess [2021/05/22 07:30] – [Error Parse UTF-8 file] admin
Line 135: Line 135:
  
 **Fix**: Lỗi do file exel, copy trực tiếp file exel gốc qua xử lý sẽ không bị lỗi(Chỉ cần lấy file export từ sapo và lưu lại thì sẽ parse lỗi) **Fix**: Lỗi do file exel, copy trực tiếp file exel gốc qua xử lý sẽ không bị lỗi(Chỉ cần lấy file export từ sapo và lưu lại thì sẽ parse lỗi)
 +Or
 +<code python>
 +def open_workbook(filename=None,
 +                  logfile=sys.stdout,
 +                  verbosity=0,
 +                  use_mmap=True,
 +                  file_contents=None,
 +                  encoding_override=None,
 +                  formatting_info=False,
 +                  on_demand=False,
 +                  ragged_rows=False,
 +                  ignore_workbook_corruption=False
 +</code> open workbook with option **ignore_workbook_corruption=True**
 ===== Using xlwt ===== ===== Using xlwt =====
python/exelprocess.txt · Last modified: 2022/10/29 16:15 by 127.0.0.1