'How can I open an html file with code in PyCharm
I am developing a plugin for PyCharm in Java.I use Pyan3 to generate a static graph. Pyan3 gives me an HTML file as a result, which I want to display.
I tried with the webbrowser but failed.
import webbrowser
import os
webbrowser.open('file://' + os.path.realpath('myuses2.html'))
Is it possible to open the html file inside pyCharm? (from code line) (If it is possible to open, than there is any way to give back information from the HTML? I want the code to jump to a function name when the user clicks on it.)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
