This project provides a tool for converting .xlsx files to .csv and .docx files to .md (Markdown). The tool supports batch conversion of files and can be run on both Windows and Linux platforms.
Linux/: Contains the setup and scripts for running the tool on Linux.Windows/: Contains the setup and scripts for running the tool on Windows.
Each platform has its own virtual environment (env/) and setup scripts.
- Windows: Python 3.x installed, PowerShell enabled for script execution.
- Linux: Python 3.x installed,
pipavailable.
- Open PowerShell or Command Prompt.
- Use the Windows Package Manager (
winget) to install Python:winget install Python.Python.3 - After installation, verify Python is installed by running:
python --version
Alternatively, you can download Python from the official Python website and install it manually. During the installation, make sure to check the option Add Python to PATH.
- Open a terminal and run the following command to install Python:
sudo apt update sudo apt install python3 python3-venv python3-pip
- Verify the installation by running:
python3 --version
- Navigate to the
Windowsdirectory:cd Windows
- Open PowerShell or Command Prompt with administrative privileges.
- Run the setup script:
.\setup.bat- This will create a virtual environment, upgrade
pip, install dependencies, and run the tool.
- This will create a virtual environment, upgrade
- Navigate to the
Linuxdirectory:cd Linux - Open a terminal and ensure the script is executable:
chmod +x setup.sh
- Run the setup script:
./setup.sh
- This will create a virtual environment, upgrade
pip, install dependencies, and run the tool.
- This will create a virtual environment, upgrade
Once the tool is set up, you can select individual files or directories for batch conversion. Converted files will be placed in the Converted_Batch_Documents folder inside the working directory.
- Converts
.xlsxfiles to.csv. - Converts
.docxfiles to.md. - Supports batch processing of files or directories.
- This version of the tool does not extract or handle embedded images in
.docxfiles. - Ensure you have sufficient permissions to run the setup scripts on your platform.
This project is licensed under the MIT License.