importation python
from random import *
Lovely Lark
from random import *
# import modules/files/functions
import MODULE_NAME/PATH_TO_FILE # just import the module
import MODULE_NAME/PATH_TO_FILE as ... # imports the module "under some name"
from MODULE_NAME/PATH_TO_FILE import FILE/FUNCTION # imports just one file/function of the module
from MODULE_NAME/PATH_TO_FILE import FILE/FUNCTION as ...
from MODULE_NAME/PATH_TO_FILE import * # imports all functions/files from one module/file
# To install a library
# In command prompt:
pip install <PACKAGE_NAME>
# To import a library
# In python:
import <PACKAGE_NAME>