Skip to main content

psgshortcut

A PySimpleGUI Application

PySimpleGUI Shortcut Tool

Creates Windows shortcuts

Features

  • Makes shortcuts for any file
  • Shortcuts can be added to your desktop or pin to the taskbar
  • Click (or double click) to launch the shortcut
  • Enables interacting with Python programs more "Windows-like"

Installation

Using PIP with PyPI

The latest official release of PySimpleGUI products can be found on PyPI. To pip install the demo applications from PyPI, use this command

If you use the command python on your computer to invoke Python (Windows):

python -m pip install --upgrade psgshortcut

If you use the command python3 on your computer to invoke Python (Linux, Mac):

python3 -m pip install --upgrade psgshortcut

Using PIP with GitHub

You can also pip install the PySimpleGUI Applications that are in the PySimpleGUI GitHub account. The GitHub versions have bug fixes and new programs/features that have not yet been released to PyPI. To directly pip install from that repo:

If you use the command python on your computer to invoke Python (Windows):

python -m pip install --upgrade https://github.com/PySimpleGUI/psgshortcut/zipball/main

If you use the command python3 on your computer to invoke Python (Linux, Mac):

python3 -m pip install --upgrade https://github.com/PySimpleGUI/psgshortcut/zipball/main

Usage

Once installed, launch psgshortcut by typing the following in your command line:

psgshortcut

Create a Shortcut To This Program

Use this program to make a shortcut to itself so that you can then put on your desktop or pin to your taskbar or ???

To do this, follow these steps:

  1. Open a command window (I promise, it's the last time you'll need to for this program)
  2. Type - where psgshortcut
  3. Copy the line that where psgshortcut gave you into the first input of the shortcut maker program
  4. Run psgshortcut by typing psgshortcut in your command window
  5. Right click and choose "File Location"
  6. Copy the file location results, but change the extension from .py to .ico and paste into the Icon file input of the shortcut maker
  7. Click "Create Shortcut"

These steps will create a shortcut in the same folder as the target file. You can safely move this shortcut file any place you want (like to your desktop). Double-click the shortcut and your program should launch.

Make Shortcuts To Anything

You can not only make shortcuts to Python programs, but you can make shortcuts to EXE and other files. The GUI is self-explanatory. Fill in the inputs, click the Make Shortcut button and you'll find the shortcut in the same folder as the target program.

Important Note - Pinning To Taskbar Requires "Python Command"

If you wish to pin your shortcut to the taskbar, then be sure to fill in the "Python Command" field with the full path to your pythonw.exe file. Without it you'll get "IDLE" as the program that's pinned. You can skip filling in this field if you're going to place the shortcut on your desktop or other location.

Copyright 2023-2026 PySimpleGUI.

Licensed under LGPL3.

Contributing

We are happy to receive issues describing bug reports and feature requests! If your bug report relates to a security vulnerability, please do not file a public issue, and please instead reach out to us at issues@PySimpleGUI.com.

We do not accept (and do not wish to receive) contributions of user-created or third-party code, including patches, pull requests, or code snippets incorporated into submitted issues. Please do not send us any such code! Bug reports and feature requests should not include any source code.

If you nonetheless submit any user-created or third-party code to us, (1) you assign to us all rights and title in or relating to the code; and (2) to the extent any such assignment is not fully effective, you hereby grant to us a royalty-free, perpetual, irrevocable, worldwide, unlimited, sublicensable, transferrable license under all intellectual property rights embodied therein or relating thereto, to exploit the code in any manner we choose, including to incorporate the code into PySimpleGUI and to redistribute it under any terms at our discretion.

Metadata

Release files for psgshortcut 6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for psgshortcut 6.0
File Size Uploaded
psgshortcut-6.0.tar.gz 30.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for psgshortcut 6.0
File Interpreter ABI Platform
psgshortcut-6.0-py3-none-any.whl Python 3 none any Details

Total release size: 63.6 kB

Release files / psgshortcut-6.0.tar.gz

Download URL psgshortcut-6.0.tar.gz
Size 30.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3ab7611e7e71cbceead97a0ee2fdcac3705bc98c9978e83fb1097aaf10497655
BLAKE2b-256 checksum
How to use checksums
85753b887862e7a8da643eaff442fb1d4393bb2f7e24530a0a438c0f07fc1800
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / psgshortcut-6.0-py3-none-any.whl

Download URL psgshortcut-6.0-py3-none-any.whl
Size 32.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0af29751fe3ff23f606a5744aef79abb2b9065d695f3e6854a8eff173dce5a02
BLAKE2b-256 checksum
How to use checksums
6f3f561b99497ff0053e3fdaf8d8078e8ee9cfb309b6600e27900599e92b8863
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

6.0 This release

2 release files

5.0.0

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page