2021-05-24 18:58:44 +00:00
|
|
|
import PySimpleGUI as sg
|
|
|
|
|
|
|
|
"""
|
|
|
|
Demo 1-line Sudoku Board
|
|
|
|
|
|
|
|
A silly display of what 1 line of PySimpleGUI is capable of producing by
|
|
|
|
utilizing the power of Python. The power isn't a PySimpleGUI trick.
|
|
|
|
The power is Python List Comprehensions and using them in your layout.
|
|
|
|
|
|
|
|
Copyright 2021 PySimpleGUI
|
|
|
|
"""
|
|
|
|
|
2022-02-22 10:20:03 +00:00
|
|
|
sg.Window('Sudoku', [[sg.Frame('', [[sg.Input(justification='r', size=(3,1)) for col in range(3)] for row in range(3)]) for frame_col in range(3)] for frame_row in range(3)], use_custom_titlebar=True).read()
|