Problem loading local files with webkit in python
webview.load_string() takes the text of an html file. you can load the file into a file object without the file:// and read it into the load_string function.
Every time I need to load a local file using webkit in python I need to start with "file://" which I need to include in all files I am working with. How can I eliminate the need to do that? I want to load files like webview.load_uri('file.html') instead of webview.load_uri('file://file.html')?