Source

punkybrowster.work / examples / local_html_file.py

import os
from punky import Browster

browser = Browster()
browser.create_webview(show=True)

# This should also work fine:
#browser.load('./mouse_click_test.html')

# To use absolute paths, you need make a file:// URL:
cwd = os.getcwd()
url = 'file://' + cwd + '/hello_punky.html'
browser.load(url)

print browser.url