weiboSpider
weiboSpider copied to clipboard
关于main函数调用
项目使用过python -m 运行的模块,我尝试直接调用main函数,但是报错相对导入的问题,想寻求解决方案可以抽象出一个函数供调用
__main__.py就是main的调用,直接运行文件__main__.py和python -m效果相同。
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Closing as stale, please reopen if you'd like to work on this further.