Giter Site home page Giter Site logo

kernferm / py3.11.6installer Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 41 KB

This script automates the installation process of Python 3.11.6 on your system and automatically adds Python to the system PATH.

License: MIT License

Batchfile 100.00%
python 3116 auto-installer batch-script version

py3.11.6installer's Introduction

Python 3.11.6 Installation Script

This script automates the installation process of Python 3.11.6 on your system and automatically adds Python to the system PATH.


how to download the repo first time users


Prerequisites

  • Windows operating system
  • Internet connection

Usage

  1. Download the script (install_python_3.11.6.bat) to your desired location.
  2. Double-click on the script to run it.

Instructions

  • Upon running the script, it will prompt you whether to continue with the installation or not.
  • If you choose to continue (Y), it will download Python 3.11.6 installer from the official Python website and install it silently.
  • If you choose not to continue (N), the installation will be cancelled.
  • After installation, Python 3.11.6 will be available on your system.

Usage Example

@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=
if /i "%choice%"=="Y" (
    echo Downloading Python 3.11.6...
    bitsadmin /transfer myDownloadJob /download /priority normal https://www.python.org/ftp/python/3.11.6/python-3.11.6-amd64.exe "%cd%\python-3.11.6.exe"
    if exist "%cd%\python-3.11.6.exe" (
        echo Installing Python 3.11.6...
        "%cd%\python-3.11.6.exe" /quiet InstallAllUsers=1 PrependPath=1 Include_test=0
        if %ERRORLEVEL% EQU 0 (
            echo Python 3.11.6 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

py3.11.6installer's People

Contributors

kernferm avatar

Stargazers

Don Arrington avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.