我有一个包,可以输入很多噪音。我试着用__all__
这样:
__all__ = ["WebdriverChauffeurMixin", "ChromeDriver", "FirefoxDriver"]
但这无济于事:
cchilders:~/projects/webdriver_chauffeur (master)
$ pip uninstall webdriver-chauffeur
Can't uninstall 'webdriver-chauffeur'. No files were found to uninstall.
cchilders:~/projects/webdriver_chauffeur (master)
$ pip uninstall webdriver_chauffeur
Can't uninstall 'webdriver-chauffeur'. No files were found to uninstall.
In [2]: from webdriver_chauffeur import
BeautifulSoup Keys os
By Select random
ChromeDriver TimeoutException subprocess
EC WebDriverWait time
FirefoxDriver WebdriverChauffeurMixin webdriver
包在pypi上,但也在我的机器上~/projects/webdriver_chauffeur
包位于https://github.com/codyc4321/webdriver_chauffeur
如何隐藏这些不必要的导入?谢谢
这看起来像是
ipython
问题,而不是__all__
问题。根据这个GitHub issue,这个行为是configurable(尽管该选项已被弃用)相关问题 更多 >
编程相关推荐