Dynamically serving a matplotlib image to the web using python

后端 未结 6 1506
悲哀的现实
悲哀的现实 2020-11-29 02:43

This question has been asked in a similar way here but the answer was way over my head (I\'m super new to python and web development) so I\'m hoping there\'s a simpler way o

6条回答
  •  青春惊慌失措
    2020-11-29 03:48

    Unless I badly miscomprehend your question, all you need to do is cd to the location of the image and run: python -m SimpleHTTPServer 8000 &

    Then open your browser, and type http://localhost:8000/ in the URL bar.

提交回复
热议问题