For my video projects, i needed import few videos, they were already segreagated into folders with list of files
they look like this
IMG_7733.MOV
IMG_7734.MOV
IMG_7735.MOV
IMG_7736.MOV
IMG_7737.MOV| # /// script | |
| # dependencies = [ | |
| # "requests", | |
| # ] | |
| # /// | |
| import requests | |
| import json | |
| import sys | |
| from threading import Thread |
For my video projects, i needed import few videos, they were already segreagated into folders with list of files
they look like this
IMG_7733.MOV
IMG_7734.MOV
IMG_7735.MOV
IMG_7736.MOV
IMG_7737.MOV| import matplotlib.pyplot as plt | |
| import numpy as np | |
| def comet(x,y=None, time=0.05, fill=False): | |
| """ | |
| Displays a comet plot | |
| by Sukhbinder |
| import matplotlib | |
| import matplotlib.pyplot as plt | |
| import numpy as np | |
| from matplotlib.animation import FuncAnimation | |
| """ | |
| Snowfall with python matplotlib | |
| Read more here https://sukhbinder.wordpress.com/?p=5193 | |
| by Sukhbinder |
| import matplotlib | |
| import matplotlib.pyplot as plt | |
| import numpy as np | |
| from matplotlib.animation import FuncAnimation | |
| # Fixing random state for reproducibility | |
| np.random.seed(9740320) | |
| ## | |
| # Author : Sukhbinder |
| import sched | |
| import time | |
| import datetime | |
| import subprocess | |
| event_schedule = sched.scheduler(time.time, time.sleep) | |
| def subprocess_say(msg): |