⚠️ CSVFilter works with Python 3.7+. To check your Python version, runpython --version
.If you have both Python 2 and Python 3 installed, you may need to use
python3
instead ofpython
. This is becoming less common as Python 2 is sunsetting.
The requirements.txt is a simple text file which lists the dependencies, or necessary packages that are required to run the code.
Install the required packages from requirements.txt
pip install -r requirements.txt
The program can then be executed from a command line using the main.py
executable:
→ D:\<your-local-directory>\CSVFilter [main]› python main.py
Make sure you have the Requirements
installed, and then install PyInstaller from PyPI:
pip install -U pyinstaller
Open a command prompt/shell window, and navigate to the directory where main.py
file is located, then build app with the following command:
pyinstaller main.py
Your bundled application should now be available in the dist folder.
pyinstaller -F --add-data "resources/*;resources/" --add-data "config.ini;." --icon=.\resources\csv_filter.ico -w --clean --name CSVFilter main.py
├── CSVFilter/
├── csv_toolbox
│ ├── data
│ ├── lib_base
│ ├── lib_csv_filter
│ ├── lib_csv_to_excel
│ ├── lib_data_preprocess
│ ├── lib_excel_beautifier
│ ├── lib_excel_merge
│ ├── lib_i18n
│ ├── lib_log
│ └── lib_utils
├── docs
├── resources
├── scripts
└── tests