Advertisement
Acer1968

Python, Excel pomocí xlwings a tisk do PDF - končí chybou pywintypes.com_error: (-2147352573, 'Člen

Jan 26th, 2021
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. """
  2. xlwings print sheet via to_pdf()
  3. """
  4.  
  5. import sys
  6. import xlwings as xw
  7.  
  8. wb = xw.Book()
  9. wb.sheets[0]["A1"].value = "Tohle se vytiskne v PDF"
  10. wb.to_pdf()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement