Skip to content

Instantly share code, notes, and snippets.

View Reyuu's full-sized avatar
🌸
~enjoying life~

Adrianna Getka Reyuu

🌸
~enjoying life~
View GitHub Profile
@Reyuu
Reyuu / example_pywebview.py
Created March 19, 2020 23:25
Example pywebview
import webview
import jinja2
def load_css(window):
with open("style.css") as f:
window.load_css(f.read())
def create_html(*args, **kwargs):
templateloader = jinja2.FileSystemLoader(searchpath="./")
templateEnv = jinja2.Environment(loader=templateloader)
Jail = inside Cerulean
OOB = out on rescue
Police = Cerulean
Bail = rescue cost
Crew = Friends
Sentence = rescue time
Heist = attack
Vault = crystal
|Good| "{} had the Japari Bus gassed up and ready to go. +25 credits.", 25