An example of a python script to split a worksheet into multiple worksheets based on the values in a column.
- Python
- Pandas
pip install pandas - Openpyxl
pip install openpyxl
- Clone this github repository by either downloading the zip file or using the following command line command:
git clone https://github.com/GeorgiySav/custom-python-excel-script.git- Make sure you have downloaded the dependencies.
- You can now run and edit the python file.
- Install auto py to exe
pip install auto-py-to-exe - Open the terminal in the folder that contains the source code and run the following command
auto-py-to-exe - Set the script location to the python file
- Choose one file if you want a single .exe file without any other files
- Also set it to be a console application
- Click convert .py to .exe
- Your .exe file will be saved in the output folder