Giter VIP home page Giter VIP logo

python-for-excel's Issues

'Frozen executable' for Mac

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

Unable to download book data.zip

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.

excel.read fails with latest version of pyxlsb

~\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'>

Error with packagetracer.xlsm

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

  • Using Windows 10
  • Using Excel for Mircosoft 365
  • PyCharm Community Edition
  • Python 3.11

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'")"
2023-08-25 11_25_54-Window
. 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.