Skip to main content

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()

->

demo

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.3.tar.gz (15.8 kB view hashes)

Uploaded source

Built Distribution

tksugar-0.1.3-py3-none-any.whl (20.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page