from pathlib import Path html = """ Leandros Gamble Spot

🎲 Leandros Gamble Spot

💰 Coins:

🍀 Luck:

1 in ?

Stats
History
""" p="/mnt/data/Leandros_Gamble_Spot_v2.html" Path(p).write_text(html) print(p)