subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
import akshare # noqa: F401 except ImportError: print("正在安装依赖 akshare pandas ...", file=sys.stderr) subprocess.check_call( [sys.executable, "-m", "pip", "install", "akshare", "pandas", "-q"] )- Confidence
- 94% confidence
- Finding
- subprocess.check_call( [sys.executable, "-m", "pip", "install", "akshare", "pandas", "-q"] )
