1

I was wondering how to output using Python variables onto an existing excel sheet.

Given the excel column

[A] [B] [C] [D] [E] [F] [G] [H] [I] [J]

Note:

  • List item [A] [B] [C] [D] : are given in one excel file (text.xlsx)
  • I have strings on [E] [F] , [H] [I] (manipulations based on [A][B][C][D]) ready as a variable
  • I have an int (%) on [G] [J] (manipulations based on [A][B][C][D]) ready as a variable

For excel input, I am using xlrd, but I was wondering how do I output these variables onto the same/existing excel file? Which library do I use?

1 Answer 1

4

There are python packages available to work with Excel files that will run on any Python platform and that do not require either Windows or Excel to be used. They are fast, reliable and open source like openpyxl, xlsxwriter.

Also this may help to you to update existing excel file.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.