我正在尝试使用pywikibot,但是我不能使用任何脚本。它们都返回相同的错误消息:
python3 .\pwb.py .\scripts\listpages.py
ERROR: Unable to execute script because no generator was defined.
Use -help for further information.
我没有使用python或pywikibot的经验,所以我不确定发生了什么。我想念什么?
我正在尝试使用pywikibot,但是我不能使用任何脚本。它们都返回相同的错误消息:
python3 .\pwb.py .\scripts\listpages.py
ERROR: Unable to execute script because no generator was defined.
Use -help for further information.
我没有使用python或pywikibot的经验,所以我不确定发生了什么。我想念什么?