Update jimm.py
This commit is contained in:
4
jimm.py
4
jimm.py
@@ -1,3 +1,7 @@
|
|||||||
|
globals().update({color: lambda text, ansi=91+i: f'\x1b[{ansi}m{text}\x1b[0m'
|
||||||
|
for i, color in enumerate('red green yellow blue magenta cyan'.split())})
|
||||||
|
print(red('hello'), green('world'))
|
||||||
|
|
||||||
'sync'
|
'sync'
|
||||||
def Sync():
|
def Sync():
|
||||||
import os, sys, asyncio, functools
|
import os, sys, asyncio, functools
|
||||||
|
|||||||
Reference in New Issue
Block a user