msg
This commit is contained in:
@@ -22,6 +22,7 @@ custom_theme = Theme({
|
|||||||
})
|
})
|
||||||
console = Console(theme=custom_theme)
|
console = Console(theme=custom_theme)
|
||||||
print=console.log
|
print=console.log
|
||||||
|
ccolor="bright_yellow"
|
||||||
"""
|
"""
|
||||||
print("test", style="bold white on blue")
|
print("test", style="bold white on blue")
|
||||||
print("test", style="bold green")
|
print("test", style="bold green")
|
||||||
|
|||||||
+5
-3
@@ -3,9 +3,9 @@ import random
|
|||||||
import re
|
import re
|
||||||
import os
|
import os
|
||||||
if __name__ == os.path.splitext(os.path.basename(__file__))[0] or __name__ =='__main__':
|
if __name__ == os.path.splitext(os.path.basename(__file__))[0] or __name__ =='__main__':
|
||||||
from ConsoleColor import print, console
|
from ConsoleColor import print, console, ccolor
|
||||||
else:
|
else:
|
||||||
from .ConsoleColor import print, console
|
from .ConsoleColor import print, console , ccolor
|
||||||
#print(__file__)
|
#print(__file__)
|
||||||
#print(os.path.basename(__file__))
|
#print(os.path.basename(__file__))
|
||||||
#print(os.getcwd())
|
#print(os.getcwd())
|
||||||
@@ -155,7 +155,9 @@ class wildcards:
|
|||||||
|
|
||||||
# 실행기
|
# 실행기
|
||||||
def run(text):
|
def run(text):
|
||||||
|
if text is None or type(text) is not str:
|
||||||
|
print("[red]text is not str : [/red]",text)
|
||||||
|
return None
|
||||||
wildcards.card_load()
|
wildcards.card_load()
|
||||||
|
|
||||||
#print(f"text : {text}")
|
#print(f"text : {text}")
|
||||||
|
|||||||
Reference in New Issue
Block a user