fzumstein / python-for-excel Goto Github PK
View Code? Open in Web Editor NEWThis is the companion repo of the O'Reilly book "Python for Excel".
Home Page: https://www.xlwings.org/book
License: MIT License
This is the companion repo of the O'Reilly book "Python for Excel".
Home Page: https://www.xlwings.org/book
License: MIT License
Hi, I've found an error but not sure how to fix it. I have tried going over forums including the one on xlwings but no luck yet.
What?
Got a Error: TypeError message when using the pagetracker.xlsm file
Steps to reproduce
On Chapter 11 we are introduced to a packagetrackre.xlsm I enabled the macros and all. I am on the Database sheet and just clic the 'Add Package' button after "xlwings" was added at the package name slot but got: "Error: TypeError("Connection.execute() got an unexpected keyword argument 'package_name'")"
. I was expecting for the "package added" prompt but nope. I tried ussing other packages as pandas but the same thing occurs.
Debugging
I checked on the packagetracker.py file and found that message was given as a general error message in case other errors wouldn;t appear so I haven't been able to figure out what's going on. I found the package name variable, but seems to be trying to fetch the value of the cell in excel.
It;s dving me insane now how I just dont know how to stop getting that error message or how to fix it. Please help.
Unable to open python-for-excel-1st-edition.zip on windows 11. Zip file downloaded OK to Downloads folder, however, attempts to extract, open are futile. Windows dialog "Compressed (zipped) Folders Error" reports that the C:\Users...\Downloads\python-for-excel-1st-edition.zip is invalid.
~\python-for-excel-1st-edition\excel.py in read(sheet, first_cell, last_cell)
124 return data
125 else:
--> 126 raise TypeError(f"Couldn't handle sheet of type {type(sheet)}")
127
128
TypeError: Couldn't handle sheet of type <class 'pyxlsb.worksheet.Worksheet'>
~\python-for-excel-1st-edition\sales_report_openpyxl.py:48: FutureWarning: Use of **kwargs is deprecated, use engine_kwargs instead.
Hi, I am a Hardware Engineer exploring python to automate scrips. I have followed your book to develop a python tool using Excel. It was incredibly helpful. Now I want to share this tool across my team. But I am stuck because there is no 'Frozen executable' support for Mac in Xlwings module. Is there any other alternatives? I would really appreciate your suggestion
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.