Skip to content
This repository was archived by the owner on Mar 31, 2020. It is now read-only.

Commit fe4d24f

Browse files
committed
Skeleton + req.txt
Alt-F4 saving skeleton proven working
1 parent 59a5108 commit fe4d24f

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

main.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import asynctk as tk
2+
import asyncio
3+
4+
root = tk.AsyncTk()
5+
async def save():
6+
print('test')
7+
root.protocol("WM_DELETE_WINDOW", lambda: asyncio.ensure_future(save()))
8+
root.mainloop()

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
aysnctk

0 commit comments

Comments
 (0)