About 556,000 results
Open links in new tab
  1. How to write to an Excel spreadsheet using Python?

    Excel files are binary and require special libraries that know the file format, which is why you need an additional library for python, or a special program like Microsoft Excel, Gnumeric, or LibreOffice, to …

  2. How can I call a Python script on Excel VBA? - Stack Overflow

    I am trying to call a Python script on VBA, and I am new to this. I tried converting the main script to an EXE file using py2exe and then calling it from VBA (shell), but the main script calls other

  3. Compare 2 excel files using Python - Stack Overflow

    May 9, 2016 · Compare 2 excel files using Python Asked 9 years, 7 months ago Modified 1 year, 2 months ago Viewed 128k times

  4. how to read certain columns from Excel using Pandas - Python

    I am reading from an Excel sheet and I want to read certain columns: column 0 because it is the row-index, and columns 22:37. Now here is what I do: import pandas as pd import numpy as np file_loc...

  5. use python to generate graph in excel - Stack Overflow

    Apr 6, 2011 · I am wondering, is python able to generate data AND graph in excel? If there are examples or code snippets, feel free to post it :) Or a workaround can be use python to generate …

  6. python - How can I use openpyxl to read an Excel cell value and not …

    162 I am using openpyxl to read a cell value (excel addin-webservice updated this column). I have used data_only = True but it is not showing the current cell value, instead it is the value stored the last time …

  7. Calling a Python script from Excel/VBA - Stack Overflow

    You can do the following with VBA + Python: Compile your Python scripts that take inputs and generate outputs as text files or from the console. Then VBA will prepare input for Python, call the precompiled …

  8. Python - How to filter out data in Excel - Stack Overflow

    Mar 24, 2021 · 2 In case you don't want to delete old sheets while operating on this file in the future, use this. Pandas is a python library which help you (but not limited to) play around with excels and csv's.

  9. Use Python to launch Excel file - Stack Overflow

    Mar 11, 2016 · os.system("open -a 'path/Microsoft Excel.app' 'path/file.xlsx'") If you on other hand want to open an excel file within python and modify it there's a number of packages to use as xlsxwriter, …

  10. How can I open an Excel file in Python? - Stack Overflow

    Jul 13, 2010 · How do I open a file that is an Excel file for reading in Python? I've opened text files, for example, sometextfile.txt with the reading command. How do I do that for an Excel file?