14 lines
318 B
Python
Executable File
14 lines
318 B
Python
Executable File
from asyncio import subprocess
|
|
from matplotlib.pyplot import subplot
|
|
|
|
|
|
import os, subprocess
|
|
|
|
class adapter(object):
|
|
def __init__(self, path : str):
|
|
if not os.path.exists(path):
|
|
raise FileNotFoundError
|
|
if not os.path.isfile(path):
|
|
raise TypeError
|
|
self.__path = path
|