https://github.com/kernferm/py3.11.9
This script automates the installation process of Python 3.11.9 on your system and automatically adds Python to the user PATH.
https://github.com/kernferm/py3.11.9
3119 adds auto installer-script python
Last synced: 5 months ago
JSON representation
This script automates the installation process of Python 3.11.9 on your system and automatically adds Python to the user PATH.
- Host: GitHub
- URL: https://github.com/kernferm/py3.11.9
- Owner: KernFerm
- License: mit
- Created: 2024-08-25T11:22:16.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-26T03:50:31.000Z (12 months ago)
- Last Synced: 2025-02-26T04:28:31.294Z (12 months ago)
- Topics: 3119, adds, auto, installer-script, python
- Language: Batchfile
- Homepage:
- Size: 32.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# π Python 3.11.9 Installation Script π
This script automates the installation of Python 3.11.9 on your system and **automatically adds Python to the user PATH**! π οΈ
---
## π Prerequisites
Before you begin, make sure you have the following:
- π₯οΈ **Windows operating system**: Ensure that your system is running on Windows.
- π **Internet connection**: A stable internet connection is required to download the Python installer.
---
## π₯ How to Download the Repo for First-Time Users
For detailed instructions on how to download the repository, please click on the following link: [**Instructions**](https://www.gitprojects.fnbubbles420.org/how-to-download-repos) π.
## Support the Project β
If you find this project useful, please give it a star! Your support is appreciated and helps keep the project growing. π
---
## π Usage
1. **Download the script**: Save the file `install_python_3.11.9.bat` to your desired location on your computer.
2. **Run the script**: π±οΈ Double-click on the script file to start the installation process.
---
## π Instructions
- When you run the script, it will first prompt you to confirm whether you want to proceed with the installation:
- **If you choose to continue** (`Y`):
- π₯ The script will download the Python 3.11.9 installer from the official Python website.
- π οΈ It will then install Python silently, so you won't need to interact with the installer manually.
- β After successful installation, the script will add the Python Scripts directory to your system's PATH, allowing you to run Python from any command prompt.
- **If you choose not to continue** (`N`):
- β The installation will be cancelled, and the script will exit.
---
## β‘ Usage Example
Hereβs a brief example of what the script does:
```
@echo off
echo This script will install Python 3.11.9 on your system.
echo Do you want to continue with the installation? (Y/N)
set /p choice=
if /i "%choice%"=="Y" (
echo Downloading Python 3.11.9...
bitsadmin /transfer myDownloadJob /download /priority normal https://www.python.org/ftp/python/3.11.9/python-3.11.9-amd64.exe "%cd%\python-3.11.9.exe"
if exist "%cd%\python-3.11.9.exe" (
echo Installing Python 3.11.9...
"%cd%\python-3.11.9.exe" /quiet InstallAllUsers=1 PrependPath=1 Include_test=0
if %ERRORLEVEL% EQU 0 (
echo Python 3.11.9 has been installed successfully.
echo Adding Python Scripts directory to system PATH...
setx PATH "%PATH%;%ProgramFiles%\Python311\Scripts"
echo Python Scripts directory has been added to the system PATH.
) else (
echo Installation failed.
)
) else (
echo Download failed.
)
) else (
echo Installation cancelled.
)
pause
```
---
### π Notes:
- **How to Download the Repo**: Provides instructions on downloading the repository.
- **Prerequisites**: Lists the system and connection requirements.
- **Usage**: Details on how to run the installation script.
- **Instructions**: Explains the step-by-step installation process.
- **Usage Example**: Shows an example of the script in action.