Skip to main content

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, or env folders near your script.
  • GUI Detection: Automatically uses pythonw.exe for 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

ezicon-1.2.5.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ezicon-1.2.5-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file ezicon-1.2.5.tar.gz.

File metadata

  • Download URL: ezicon-1.2.5.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for ezicon-1.2.5.tar.gz
Algorithm Hash digest
SHA256 90360b6f510483c723685b2dd2b1fb9e08550670b44a8c84b71d07c1235aedb7
MD5 f3c56f096ae317e018c1d18fe3b5e093
BLAKE2b-256 8a1bba180b5b84bc5ff905986f32509520495bdc31fb9c62cc19f4243b71b8c2

See more details on using hashes here.

File details

Details for the file ezicon-1.2.5-py3-none-any.whl.

File metadata

  • Download URL: ezicon-1.2.5-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

Hashes for ezicon-1.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f22d93b31d88cbdefb3c4909919c95584fc779ccf0c78fec0b7d077f99872a00
MD5 3ebeda607b28d0d99933080d4e0e84e9
BLAKE2b-256 8712238cb7df88e7ab41d4447019d298fa9ee1809fe5840fbafdee6660bfe7b5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page