subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
try: from PIL import Image, ImageDraw, ImageFont except ImportError: subprocess.check_call([sys.executable,"-m","pip","install","pillow","-q"]) from PIL import Image, ImageDraw, ImageFont _ttf_dir = os.path.dirname(os.path.abspath(__file__))- Confidence
- 97% confidence
- Finding
- subprocess.check_call([sys.executable,"-m","pip","install","pillow","-q"])
