首页 > 解决方案 > 打印命令行脚本的调用函数

问题描述

我经常使用这个命令行脚本: 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) 

标签: python

解决方案


推荐阅读