PnP files editor, using a footprints defined in the Yamaha .Tou files.
- Yamaha project file
- .Tou
- DevLibEd.Lib
- PnP
- .xls
- .xlsx
- .ods
- any other extension - considered as a CSV file
NOTE
If xls/xlsx/ods file contains several sheets, only the first one will be used.
Python for Windows with addons. Remember to check these options:
- pip
- tcl\tk
- Add Python to environment variables
Minimum required version is Python 3.9.
To install required libraries, open the PowerShell and:
# .xls reader, .xlsx reader, .ods reader, UI lib, http requests, image formats, natural sorting,
pip install xlrd openpyxl odfpy customtkinter requests pillow natsort
# pip3 install -r requirements.txt
From PowerShell:
python.exe src/app.py
To get colored logs, use Linux-like terminal, eg. MSys2, but still using the Windows installation of the Python:
$ /c/Program\ Files/Python39/python.exe src/app.py
-
ModuleNotFoundError: No module named 'tkinter'
tkinter
was not installed together with the Python - follow the instructions here. -
ERROR: Cannot load BOM: 'utf-8' codec can't decode byte
Only UTF-8 files are accepted; if the BOM or PnP file uses ANSI or WINDOWS encoding, use
Notepad++
or other editor to change the encoding to UTF-8
Project is checked with the popular tool pylint
.
sudo apt install pylint
pylint src/project.py