This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
A micro event loop library implementation from scratch. | |
This library provides a minimal but feature-complete asynchronous event loop | |
implementation for educational purposes. It demonstrates the core concepts of | |
asynchronous programming including: | |
- Task scheduling and management | |
- I/O multiplexing with non-blocking sockets | |
- Timeouts and sleep functionality |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Sample file to enable tkinter to run with co-routine and asyncio code | |
with no need for extra threads or blocking the UI | |
(this will likely be upgraded to a full package at some point in time) | |
""" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a,C,blip,J,P,m,t,D,R,I,Z,X,d,G,E,n="base","sl",26,"".join,print,"b85","time",dict,range,iter,zip,__import__,"decode",getattr,"eep","64" | |
a=[(lambda x:(P('\b'*blip+x,end='',flush=True),G(X(t),C+E)(0.2)))(J((D([(x[0],chr(x[1])) for x in (Z(*([I(G(X(a+n),m+d)(b'7jFn@7$FvJ408}~1bPc{3S|IB4`~8y4sr>04dD?i6?Fzd6mkP;5+DU22W|mn86guw'))]*2)))][:i+1])).get(j,' ') for j in R(blip))) for i in R(blip)] |