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.

Files for tksugar, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size tksugar-0.1.3.tar.gz (15.8 kB) File type Source Python version None Upload date Hashes View
Filename, size tksugar-0.1.3-py3-none-any.whl (20.4 kB) File type Wheel Python version py3 Upload date Hashes View

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