Category:Python lib
(Redirected from Python Lib)
Module/Library
Installation by:
- pip install
- manually in folder by: python setup.py install
- pip install xxxx.whl file
- Socket - https://docs.python.org/2/library/socket.html#example
- PIL / Pillow -> pip install pillow -> when missing Image module
List Modules
- bs4, BeautifulSoup, feedparser,
- python -m pip install mysql-connector
- python -m pip install flask
- python -m pip install uwsgi
Libraries
OS
- list dir -> import os -> os.listdir("\"), list sd card -> os.listdir("\sd")
REPL
- execfile('filename.py')