Skip to content
View Portable-Python's full-sized avatar

Block or report Portable-Python

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
portable-python/README.md

Portable Python


  • A portable distribution of the Python programming language

  • Provides a lightweight, self-contained Python environment that you can use from a usb , network share , folder.

  • It includes all the most commonly used Python modules and allows you to run Python programs without needing to install Python globally or require admin privileges.

🛠️ Key Features

  • Easy to use – Just unzip the archive and start coding with Python right away!

  • Pre-configured environment – Most commonly used Python modules are already included. requests beautifulsoup4 psutil pillow ...

  • Pip support – You can install additional Python modules as needed with pip.

  • No admin privileges required – You can unzip and use the distribution anywhere.

Download

Download zip file

Usage

  • Extract ppy.zip

powershell

Expand-Archive ppy.zip

portable-python\python.exe -c "print('Hello World')"

OR

Expand-Archive -Path ppy.zip -DestinationPath XYZ

XYZ\python.exe test.py

get_python.ps1

iwr "https://github.com/Portable-Python/portable-python/releases/download/ppy/ppy.zip" -o ppy.zip

Expand-Archive ppy.zip

cd ppy.zip

python.exe -c "print('Hello World')"

Installing libraries

python.exe -m pip install <module>

Importing libraries

import os,sys

try:
    import colorama
except:
    os.system(f"{sys.executable} -m pip install colorama")
    import colorama

More informations

Popular repositories Loading

  1. portable-python.github.io portable-python.github.io Public

    HTML

  2. portable-python portable-python Public

    A portable distribution of the Python programming language