Python OS Get Dir Path
from os import getcwd # only import "getcwd" from os
getcwd() # Get the current working directory
Panicky Pig
from os import getcwd # only import "getcwd" from os
getcwd() # Get the current working directory
import zipfile
inpath = MyDirPath
outpath = inpath.replace(".zip", "") # Remove zip extension so that outpath does not have .zip
with zipfile.ZipFile(inpath, 'r') as z:
z.extractall(outpath) # Extracts