A module that generates a structured Tk window frame from a text file.
Project description
TkSugar
A module that generates a structured Tk window frame from a text file.
from tksugar.generator import Generator
gen = Generator()
gen.string = """
_Tk:
title: "TEST Window"
geometry: 400x300
_Frame:
pack:
_Label:
text: "Hello"
pack:
"""
window = gen.generate()
window.mainloop()
->
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tksugar-0.1.2.tar.gz
(15.4 kB
view hashes)
Built Distribution
tksugar-0.1.2-py3-none-any.whl
(20.0 kB
view hashes)