Initial Checkin of "readme_creator" folder... the thing that makes the primary readme
This commit is contained in:
parent
59bb9a4fc5
commit
959194fb8e
8 changed files with 5866 additions and 0 deletions
19
readme_creator/dump_stuff.py
Normal file
19
readme_creator/dump_stuff.py
Normal file
|
@ -0,0 +1,19 @@
|
|||
import inspect
|
||||
import PySimpleGUI as sg
|
||||
|
||||
psg_members = inspect.getmembers(PySimpleGUI)
|
||||
|
||||
psg_funcs = [o for o in psg_members if inspect.isfunction(o[1])]
|
||||
psg_classes = [o for o in psg_members if inspect.isclass(o[1])]
|
||||
psg_classes_ = list(set([i[1] for i in psg_classes])) # filtering
|
||||
psg_classes = list(zip([i.__name__ for i in psg_classes_], psg_classes_))
|
||||
|
||||
for i in psg_funcs:
|
||||
if 'Tk' in i[0] or 'TK' in i[0] or 'Element' == i[0]: # or 'Window' == i[0]:
|
||||
continue
|
||||
print('')
|
||||
print(f'<!-- <+func.{i[0]}+> -->')
|
||||
# print('\n'.join(['\t' + j[0] for j in inspect.getmembers(i[1]) if '_' not in j[0] ]))
|
||||
|
||||
sg.Popup()
|
||||
sg.Button()
|
Loading…
Add table
Add a link
Reference in a new issue