Amazing-Python-Scripts
..
/
Text To Sheets
README.md
Text to Sheets
To convert the data from a text file into an excel sheet.
Setup instructions
To set up and run the script, follow the instructions below:
-
Install the required dependencies:
openpyxl
(Install usingpip install openpyxl
)
-
Run the script:
- Execute the script using a Python interpreter.
Detailed explanation of script
The script performs the following steps:
- Imports the necessary libraries (
openpyxl
). - Make a text file named 'input.txt'.
- Save the text in the file, text separated by spaces which you want in different cells.
- Execute the script, you will see the output.xlsx file generated by the script.
Output
The script saves the generated excel sheet as "output.xlsx" in the current directory which contains the data.
Author(s)
Author: Tisha Garg