Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试学习SimpleCV,并且在它的教程中说要在浏览器中显示图像,使用
img.show(type="browser")
每当我这样做时,我的浏览器都会将我带到 localhost:8080,并且页面不会加载。如何在 Python 中启动一个简单的服务器以便加载页面?
尝试import webbrowser从外壳调用。如果失败,您需要安装库(pip install或easy_install)。
import webbrowser
pip install
easy_install