Create Windows Start Menu shortcuts for Python scripts instantly.
Project description
ezicon
A simple tool to create Windows Start Menu shortcuts and Desktop links for Python scripts. It automatically detects virtual environments and GUI applications.
Installation
pip install ezicon
Features
- Auto-Venv Detection: Automatically finds and uses
.venv,venv, orenvfolders near your script. - GUI Detection: Automatically uses
pythonw.exefor Tkinter/PyQt scripts (no console window). - Shortcut Customization: Set custom names, icons, and locations.
- Terminal Commands: Create batch files to run your scripts from any terminal.
Usage
Basic Usage
Create a shortcut for your script in the Start Menu:
ezicon my_script.py
Custom Name and Icon
Specify a custom name and a specific .ico file:
ezicon my_script.py "My Awesome App" --icon app_icon.ico
Desktop Shortcut
Create a shortcut on the Desktop instead of the Start Menu:
ezicon my_script.py --desktop
Terminal Commands (Shell Shortcuts)
Create a batch command to run your script from any terminal:
ezicon my_script.py --terminal run_my_app
Then just type run_my_app in your terminal to execute it.
Force Console Window
If you have a GUI app but still want to see the console output:
ezicon my_gui_app.py --force-console
Manage Shortcuts
List all shortcuts created by ezicon:
ezicon --list
Remove all shortcuts:
ezicon --clean
Delete a specific shortcut:
ezicon --delete "My Awesome App"
After creating the program icon, you can execute your python script from the Start Menu or Desktop.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ezicon-1.2.6.tar.gz.
File metadata
- Download URL: ezicon-1.2.6.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19cebe0c1f86e54da793e4b9fe5104acece8a9db3906a939b3f29fdb67ff19fd
|
|
| MD5 |
8f02dcc8805761b4cc6ffb7c4e0431a9
|
|
| BLAKE2b-256 |
085a433b4b0fcacdddb4563c2c2804928b6d5e33cbb8ef874ba5adb41c294658
|
File details
Details for the file ezicon-1.2.6-py3-none-any.whl.
File metadata
- Download URL: ezicon-1.2.6-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a38f35fc29acb774cbcb5eb969809e267d6fdd360797962df0429e83d3275df
|
|
| MD5 |
cdd9d9503bba0382ed641d87dd2a45a5
|
|
| BLAKE2b-256 |
ca28fd1be517451bf50cea9271c82489eddbd657f554b0220bd523350f2eb7df
|