Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fnbubbles420-org/py3.11.6installer
https://github.com/fnbubbles420-org/py3.11.6installer
accessibility-matters charity ddisableddevelopers disabledgamers disabledstreamers disabledveteran fnbubbles420org mental-health nonprofit organization physical-challenges
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/fnbubbles420-org/py3.11.6installer
- Owner: FNBUBBLES420-ORG
- License: mit
- Created: 2024-11-02T20:28:17.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-02T20:31:17.000Z (about 2 months ago)
- Last Synced: 2024-11-02T21:22:43.883Z (about 2 months ago)
- Topics: accessibility-matters, charity, ddisableddevelopers, disabledgamers, disabledstreamers, disabledveteran, fnbubbles420org, mental-health, nonprofit, organization, physical-challenges
- Language: Batchfile
- Homepage: https://www.fnbubbles420.org/ourmission
- Size: 0 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
## Support the Project β
If you find this project useful, please give it a star! Your support is appreciated and helps keep the project growing. π
# π Python 3.11.6 Installation Script π
This script **automates the installation** of Python 3.11.6 on your system and automatically adds Python to the system PATH! π οΈ
---
## π₯ 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) π.
---
## π Prerequisites
Before running the script, make sure you have the following:
- π₯οΈ **Windows operating system**
- π **Internet connection**---
## π Usage
1. π Download the script (`python-3.11.6.bat`) to your desired location.
2. π±οΈ **Right-click** the script and select `Run As ADMIN` to execute it.---
## π Instructions
- π Once you run the script, you will be prompted to confirm whether you want to proceed with the installation:
- **Choose** `Y` to continue with the installation, and the script will:
- π₯ **Download Python 3.11.6** from the official Python website.
- π οΈ **Install Python silently** in the background.
- β **Add Python Scripts directory** to the system PATH.
- **Choose** `N` to cancel the installation.---
## β‘ Usage Example
Hereβs a quick example of what running the script will look like:
```
@echo off
echo This script will install Python 3.11.6 on your system.
echo Do you want to continue with the installation? (Y/N)set /p choice="Enter your choice (Y/N): "
if /i "%choice%" neq "Y" (
echo Installation cancelled by the user.
pause
exit /b 1
)echo Downloading Python 3.11.6...
bitsadmin /transfer "PythonDownloadJob" /download /priority normal https://www.python.org/ftp/python/3.11.6/python-3.11.6-amd64.exe "%cd%\python-3.11.6.exe":: Check if the download was successful
if not exist "%cd%\python-3.11.6.exe" (
echo Download failed. Please check your internet connection or URL and try again.
pause
exit /b 2
)echo Installing Python 3.11.6...
"%cd%\python-3.11.6.exe" /quiet InstallAllUsers=1 PrependPath=1 Include_test=0:: Check the result of the installation
if %ERRORLEVEL% equ 0 (
echo Python 3.11.6 has been installed successfully.
) else (
echo Installation failed. Error code: %ERRORLEVEL%
pause
exit /b 3
)echo Adding Python Scripts directory to system PATH...
:: Retrieve the current PATH variable and append Python directories
set "newpath=%PATH%;C:\Programs\Python\Python311\Scripts;C:\Programs\Python\Python311":: Use setx to update the system PATH permanently
setx PATH "%newpath%" /M:: Update PATH for the current session
set PATH=%newpath%echo Python Scripts directory has been added to the system PATH.
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.