Skip to content

PyLaunch is .py and .pyw file launcher for developers and lazy people allowing you to run and edit those files thru GUI.

Notifications You must be signed in to change notification settings

KRWCLASSIC/PyLaunch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyLaunch pre-1.1

Static Badge Static Badge Static Badge

Static Badge

App Icon

PyLaunch is a simple launcher application for Python scripts that allows users to easily run their Python files in a specified IDE or console. It provides a user-friendly interface for configuring the paths to the IDE and console.

Features

  • IDE Integration: Open Python scripts directly in your preferred IDE.
  • Console Execution: Run Python scripts in a console window with options to keep the console open or run silently (.pyw only).
  • Configuration Management: Easily set and save paths for the IDE and console through a setup dialog.
  • Cross-Platform Support: Designed to work on both Windows and Unix-like systems. (NOT TESTED!)

User Interface

Preview of the GUI.

Screenshot 1 Screenshot 2 Screenshot 3

Installation

  1. Clone the Repository: Make sure to put it somewhere safe like User Folder or Program Files to prevent accidental removal! To clone it with git: git clone https://github.com/KRWCLASSIC/PyLaunch cd PyLaunch

  2. Install Dependencies: Ensure you have Python installed on your system. You may need to install the PySide6 library if it's not already installed: pip install PySide6 or pip install -r requirements.txt.

  3. Run the Application: You can run the application using setup.bat on Windows and setup.sh on Linux.

  4. Setup Configuration: On the first run, the application will prompt you to set the paths for your IDE and console. Follow the instructions in the dialog to configure these settings.

Recommended Actions

  • Set as Default Application: You can set the launcher as the default application for .py files on Windows. This can be done through the setup dialog in the application. (Not figured out Linux way yet.)

  • Keep Console Open: If you want to see the output of your scripts, check the "Keep console window open" option.

  • Silent Mode: If you prefer to run scripts without a console window appearing, enable the "Silent mode" option. (.pyw files only!)

Usage

  • Open in IDE: Click the "Open in IDE" button to open the currently selected Python script in your configured IDE.

  • Run in Console: Click the "Run in Console" button to execute the script in the console.

  • Select New File: Use the file selection button to choose a different Python script to work with.

  • Edit Configuration: Access the configuration dialog to change the IDE or console paths at any time.

Troubleshooting

  • If you encounter issues with finding the Python executable, ensure that Python is installed and added to your system's PATH.

License

Idk, open source but tag me if you steal and do not fork.

About

PyLaunch is .py and .pyw file launcher for developers and lazy people allowing you to run and edit those files thru GUI.

Topics

Resources

Stars

Watchers

Forks