This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import shutil | |
import subprocess | |
from pathlib import Path | |
def extract_file(file_path: Path, target_path: Path, password=None, remove_original=False): | |
if isinstance(password, str): | |
password = [password] | |
for pwd in password: | |
cmd = [shutil.which('7z'), 'x', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script type="text/javascript"> | |
window.onload = draw; | |
function draw(){ |