Initial commit

This commit is contained in:
Walter 2024-04-06 16:30:54 +02:00
commit 5e62cdd2ba
4 changed files with 31 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
nv-venv
.idea
output

22
app.py Normal file
View File

@ -0,0 +1,22 @@
import PySimpleGUI as sg
import sys
sg.theme("DarkAmber")
class GUI:
def __init__(self):
layout = [
[sg.Text("Commandline arguments:")],
[sg.Multiline("\n".join(sys.argv), size=(100, 20))]
]
self.window = sg.Window(title="Windows Protocol Viewer",
layout=layout)
def run(self):
while True:
self.event, self.values = self.window.read()
if self.event == sg.WINDOW_CLOSED:
break
self.window.close()

1
requirements.txt Normal file
View File

@ -0,0 +1 @@
PySimpleGUI==4.*

5
start.py Normal file
View File

@ -0,0 +1,5 @@
import app
if __name__ == "__main__":
app.GUI().run()