https://github.com/betterwayelectronics/pyenv-win-wrapper
Provides a 'Default Application' in Windows to launch .py files whilst using PyEnv-Win
https://github.com/betterwayelectronics/pyenv-win-wrapper
default-app default-application perl pyenv pyenv-for-windows pyenv-win python
Last synced: 28 days ago
JSON representation
Provides a 'Default Application' in Windows to launch .py files whilst using PyEnv-Win
- Host: GitHub
- URL: https://github.com/betterwayelectronics/pyenv-win-wrapper
- Owner: BetterWayElectronics
- Created: 2023-11-30T06:21:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-30T07:06:03.000Z (over 1 year ago)
- Last Synced: 2024-02-02T22:54:11.279Z (over 1 year ago)
- Topics: default-app, default-application, perl, pyenv, pyenv-for-windows, pyenv-win, python
- Language: Perl
- Homepage: https://betterwayelectronics.com.au/
- Size: 10.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BwE PyEnv-Win Wrapper
Version: 1.0.0
## Overview
The PyEnv-Win Wrapper (PyWrapper) is a Python *and* Perl script designed to simplify the management and execution of Python scripts within a [PyEnv](https://github.com/pyenv/pyenv) environment on Windows systems. It serves as a convenient environment variable/default application for running Python files while ensuring they execute in the desired Python environment.
### Features
Python Environment Management: Checks if PyEnv is installed and available on your system.
Python Version Selection: Execute Python scripts with the specific Python version set by PyEnv.
Save Time & Effort: Negates the need to open a terminal session and having to manually run Python scripts.
Beautiful Design: Shows my beautiful banner if run without parsing a script or on any error.
Looks Better: All .py files will have a Python .ico now instead of nothing! (If using compiled version)### Prerequisites
PyEnv-Win: Ensure that PyEnv-Win is installed on your Windows system.
Install one or more Python versions!## Usage
1. Use the script as is, compile it yourself or download my compiled executable
2. Set this program as the default for opening .py files
3. Double click on any .py script and it will run normally!
4. Change version normally by running the pyenv global 0.0.0 command## Is there another way of doing this?
Probably? I like my way!## Acknowledgments
This script was inspired by the PyEnv project.
Special thanks to the PyEnv-Win community for their contributions.