An easy Shutdown/Standby Timer written in Python - By CybaNinja
Build with Python. HowTo:
- Download the CleanFiles.rar and Extract anywhere.
- Open the folder with the 3 files (.py file, .wav file, .ico file) - You can change the .wav and .ico file to whatever you like!
- Right click on empty space in the folder -> Open in Terminal
- Paste this: pyinstaller --onefile --windowed --add-data "icon.ico;." --add-data "alert.wav;." --icon=icon.ico --hidden-import PySide6.QtGui --hidden-import PySide6.QtWidgets --hidden-import PySide6.QtCore --hidden-import PySide6.QtNetwork --hidden-import PySide6.QtPrintSupport shutdown_timer_0.9.4.py in the Terminal and hit Enter.
- You can find the new built .exe in the "dist" folder.
- Copy the .exe whereever you like and run it (it's portable and doesn't need any other files).
- Done!
//////////// //////////// //////////// //////////// //////////// //////////// //////////// //////////// //////////// //////////// //////////// ////////////
If you get errors while building, make sure Python 3.15 is installed and that the required Python packages such as PySide6 are installed via pip. HowTo:
- Press → Win + R
- Type → CMD
- Type → python --version
→ If it's not 3.15 or Python is not found, download and install Python 3.15 from: https://www.python.org/downloads/release/python-3150/ - Then run → pip install PySide6
- Done - you now can Build with Python!
//////////// //////////// //////////// //////////// //////////// //////////// //////////// //////////// //////////// //////////// //////////// ////////////
For the "icon.ico" you can use the Icon generator: https://www.icoconverter.com/
For the "alert.wav" you can just use any .wav file from example here: https://pixabay.com/sound-effects/search/wav/
Else: Just make 2 empty .txt files and rename one to icon.ico and one to alert.wav if you don't want to get your own alert and icon files.