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 revision
Previous revision
python:exelprocess [2021/05/22 07:30] – [Error Parse UTF-8 file] adminpython:exelprocess [2022/10/29 16:15] (current) – external edit 127.0.0.1
Line 134: Line 134:
 </code> => default encoding: **'utf_16_le'** </code> => default encoding: **'utf_16_le'**
  
-**Fix**: Lỗi do file exel, copy trực tiếp file exel gốc qua xử lý sẽ không bị li(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, mở li file exel và lưu lại sẽ hết 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.1621668655.txt.gz · Last modified: 2022/10/29 16:15 (external edit)