Skip to content

Latest commit

 

History

History
140 lines (95 loc) · 3.63 KB

File metadata and controls

140 lines (95 loc) · 3.63 KB

Python dev

TABLE OF CONTENTS

Host

List / Learn

Dependencies

Global

  • install with: pip install -r requirements.txt
  • run with: python .\my-script.py >> output.txt

Local

  • use virtualenv to scope deps to the current folder
  • Pipenv is a tool that aims to bring the best of all packaging worlds (bundler, composer, npm, cargo, yarn, etc.) to the Python world

More

Commands

# to check current pip config
pip config debug
# to change pip directory 
pip config set global.target /Users/Bob/Library/Python/3.8/lib/python/site-packages
# to check current version
pip -V
# since python installed the new version in folder specified in ENV: PYTHONUSERBASE
# but python wanted only to use the pip from the /Users/Bob/Library/Python/3.x.x/lib/python/site-packages
# then i have copied/paste the pip folder froml PYTHONUSERBASE to site-packages

HTTP Request

START

STARTER

LIB: DEVTOOLS: CORE

LIB: DEVTOOLS: EXTRA

LIB

GPT

DATA

UTIL