python - 打印命令行脚本的调用函数
问题描述
我经常使用这个命令行脚本: https ://github.com/arc298/instagram-scraper
为此,我使用 os.system 运行
os.system(f'instagram-scraper {account} --media-metadata --media-types none --max 10)
我知道这只是一种解决方法,我想了解图书馆的工作原理。是否可以打印命令行脚本执行的功能?或者另一种理解方式,这个命令实际上在做什么?
就像是:
os.system(f'instagram-scraper {account} --media-metadata --media-types none --max 10, verbose=1)
解决方案
推荐阅读
- prometheus - Prometheus Grafana 创建延迟分布图
- parallel-processing - 是否可以在使用 TABLES 参数的 aRFC 并行处理期间更改 ITAB?
- linux - TCP 连接套接字溢出 vs 丢弃
- javascript - 使用 for 循环声明 JS 变量
- python - 循环完成后如何记住循环中的某些内容?
- rxjs - 从函数中返回 observable 的结果
- python - 如何在python中对大字符串数求和
- powershell - 如何记录 Copy-Item 的结果?
- active-directory - AD 配置说“响应中缺少必需的属性”,但它确实存在于响应中
- scala - Scala Spark 跨团队跨度和密钥按时间段求和