Bash to Python howto ==================== Before starting, i recomend installing VS Code into Ubuntu VM as a development environment. Also sign into Github on it so you can use copilot (Download 1. Ask Copilot to convert shell script to Python for you. It got it on first attempt with OpenAI_Import.sh 2. Test the .py file in the same way as you run a shell script ./OpenAI_Import.py 3. I asked CoPilot to rewtite it in Python modular style and it did this to 4. Also asked it to switch out zenity so no longer required to be installed 5. Need to add the tkinter library to python default install for this to work (sudo apt-get install python3-tk) 6. If compiling script which I did to protect API keys, need to address log file location 7. Copilot will sort this too 8. Once you are happy that it is working correctly, need to compile it 9. Install the compiler. I chose pyinstaller (pip install pyinstaller) but could select nuitka 10. Compile with pyinstaller --onefile OpenAI_Import.py