Skip to content

A guide I made on how to run python scripts on Windows 10+!

Notifications You must be signed in to change notification settings

debug-cli/how_to_use_py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Welcome This is a step by step process to using my python scripts thru command prompt with the best stability.

How to use my python scripts (WINDOWS)

What do i need?

How to get python

Download the latest version for Windows here. Installation on Linux will be different.

Python installation process

  1. Download the installer by clicking "Download Windows installer (64-bit)"
  • [Or "Download Windows installer (32 -bit)" if you're on a 32-bit machine.]
  1. Launch the installer .exe file
  2. Check the box that is next to "Add to PATH
  • This is for the terminal commands to work.
  1. Click install (top button with shield icon)
  2. Wait for it to Install.

For .py files

  1. Download the source code of my repository
  • Click the green 'Code' and click Download Zip.
  1. It will come out as a zip file. Extract the zip file.
  2. Put it in a separate folder in Documents or wherever you like.
  3. Open that folder in terminal (Right click, Open In Terminal)
  4. If the repository that you download had a "requirements.txt" file, execute the command "pip install -r requirements.txt"
  • This is so the packages in the script work properly.

  • This is very important. Not doing this could lead to unusable scripts.

  • When the packages are done installing, now it's time to run the script!

  1. Execute the command "python (scriptname).py
  2. Use the program!

How to use my python scripts (LINUX)

What do i need?

  • Arch Linux, Debian-based Distro (Debian, Ubuntu, Zorin OS, etc.)
  • Latest version of Python
  • An Internet connection

How to get python

Simply run this command.

Installation on Windows will use a GUI instead of a command line

For .py files

  1. Download the source code of my repository
  • Click the green 'Code' and click Download Zip.
  1. It will come out as a zip file. Extract the zip file.
  2. Put it in a separate folder in Documents or wherever you like.
  3. Open that folder in terminal (Right click, Open In Terminal)
  4. If the repository that you download had a "requirements.txt" file, execute the command pip install -r requirements.txt"
  • This is so the packages in the script work properly.

  • This is very important. Not doing this could lead to unusable scripts.

  • When the packages are done installing, now it's time to run the script!

  1. Execute the command python (scriptname).py
  2. Use the program!

Made with love by debug-cli

 ______
< Bye! >
 ------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

About

A guide I made on how to run python scripts on Windows 10+!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published