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
| # Thanks GratefulGuest from SO: | |
| # https://stackoverflow.com/questions/34871191/cant-close-socket-on-keyboardinterrupt | |
| from multiprocessing import Pipe, Process | |
| from socket import socket, AF_INET, SOCK_STREAM | |
| from threading import Thread | |
| import time | |
| def detect_interrupt(conn): | |
| try: |
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
| # Windows: Create a shortcut to a .bat file in 'shell:sendto' to call this script with files passed as arguments | |
| # Use with 'save_proxy_clip_list.py' gist to quickly pull used timeline clips into FFMPEG. | |
| # Use 'link_proxies.py' gist to relink proxies correctly. | |
| # Bug in current Resolve release links clips wrongly to one or two proxies only. | |
| # This assumes FFMPEG is on path. | |
| import os, sys, shutil | |
| import subprocess | |
| import argparse | |
| import pathlib |
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 sys | |
| import os | |
| import cv2 | |
| import numpy as np | |
| import time | |
| from tqdm import tqdm | |
| from plyer import notification |
NewerOlder