PySimpleGUI 2020 Part 10 - Generated Layouts. Writing code to create a layout

preview_player
Показать описание
This lesson discusses
* "User Defined Elements"
* Generated Layouts

This is where PySimpleGUI shines particularly brightly. Because it's written in Python, for Python, using uniquely Python data structures (lists), it's possible to do some amazing things in tiny amount of code.

Crazy things like a single-line Sudoku board are easy to do using list comprehensions.

Reminder that notes are here:

The demo .py file being used in the video is here:
Рекомендации по теме
Комментарии
Автор

Awesome PySimpleGUI videos! Go further... thx 4 sharing

ElectroDrome
Автор

Thank you so much for these videos. I am learning to code using Python and wanted to do some work using GUI's. This is so helpful.

DLReach
Автор

You can reduce your InInfo() to one parameter by having the key = '-'+text.upper()+'-' therefore the return statement would be:
return [sg.Text(text, size=(8, 1), justification='r', font='Any 10'),

robertallen
Автор

Mikey likes it. But seriously, this is good.

terrylapierre
join shbcf.ru