import os
os.path.expanduser('~')
os.path.join(os.path.expanduser('~'),'Desktop')

 

 

 

>> open and unzip file 

 

 

import os 
import zipfile

import tkinter as tk
from tkinter import filedialog
 
root = tk.Tk()
root.withdraw()
  
file_paths = filedialog.askopenfilenames(parent=root, title='Choose a file')

file_path = file_paths[0] 
unzip_path = os.path.join(os.path.expanduser('~'),'Desktop')

   
with zipfile.ZipFile(file_path, 'r') as existing_zip:
    existing_zip.extractall(unzip_path)

 

solc --> covtol

pip3 install jupyter-tabnine --user
jupyter nbextension install --py jupyter_tabnine --user
jupyter nbextension enable --py jupyter_tabnine --user
jupyter serverextension enable --py jupyter_tabnine --user

+ Recent posts