|
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | +[](https://github.com/odhyp) |
| 6 | + |
| 7 | + |
| 8 | +# XLS TO XLSX |
| 9 | + |
| 10 | +<div align="center"> |
| 11 | + <a href="https://commons.wikimedia.org/wiki/File:.xlsx_icon.svg"> |
| 12 | + <img src="https://upload.wikimedia.org/wikipedia/commons/f/f3/.xlsx_icon.svg" width=30% height=30%> |
| 13 | + <p><i>Icon Author: Created c. 2018 by |
| 14 | + <a href="https://en.wikipedia.org/wiki/Microsoft">Microsoft Corporation</a> |
| 15 | + </i></p> |
| 16 | + </a> |
| 17 | +</div> |
| 18 | + |
| 19 | +## 🛠️ Description |
| 20 | +A simple Python script that converts Microsoft Excel '.xls' file to '.xlsx' file. |
| 21 | + |
| 22 | +## ⚙️ Languages or Frameworks Used |
| 23 | +This script requires [Python 3](https://www.python.org/downloads/) and [pywin32](https://pypi.org/project/pywin32/). |
| 24 | + |
| 25 | +## 🌟 How to run |
| 26 | + |
| 27 | +1. Ensure you have [Python 3](https://www.python.org/downloads/) installed on your system. |
| 28 | +2. Navigate to this project directory or where `xls_to_xlsx.py` is saved. |
| 29 | +3. To install the required dependencies, open a terminal and run: |
| 30 | + |
| 31 | +```bash |
| 32 | +pip install -r requirements.txt |
| 33 | +``` |
| 34 | + |
| 35 | +4. Make sure you close all running Microsoft Excel applications before executing the script. |
| 36 | +5. To run the script, open a terminal and run the following command: |
| 37 | + |
| 38 | +```bash |
| 39 | +python xls_to_xlsx.py |
| 40 | +``` |
| 41 | + |
| 42 | +6. Follow the prompts to input the file path. |
| 43 | +7. The output file is then saved in the same directory as the input file. |
| 44 | +8. Input either 'y' to delete the old '.xls' file or 'n' to keep it instead. |
| 45 | + |
| 46 | +## 📺 Demo |
| 47 | +<p align="center"> |
| 48 | +<img src="https://github.com/ndleah/python-mini-project/blob/main/IMG/xls_to_xlsx.png" width=70% height=70%> |
| 49 | + |
| 50 | +## 🤖 Author |
| 51 | +[odhy](https://github.com/odhyp) |
0 commit comments