diff --git a/ConsoleColor.py b/ConsoleColor.py index e74dff5..bf60e5e 100644 --- a/ConsoleColor.py +++ b/ConsoleColor.py @@ -12,16 +12,9 @@ if missing: subprocess.check_call([python, '-m', 'pip', 'install', *missing], stdout=subprocess.DEVNULL) from rich.console import Console - console=Console() print=console.log -print( - { - 'test1':'tset', - 'test2':'tset', - } -) -print("test", style="bold white on blue") + """ import os if __name__ == os.path.splitext(os.path.basename(__file__))[0] or __name__ =='__main__': @@ -32,10 +25,24 @@ print(__file__) print(os.path.basename(__file__)) """ +""" + +print( + { + 'test1':'tset', + 'test2':'tset', + } +) +print("test", style="bold white on blue") +""" + +""" print(__file__) print(os.path.basename(__file__)) try: Exception_test() except Exception: #console.print_exception(show_locals=True) - console.print_exception() \ No newline at end of file + console.print_exception() + +""" \ No newline at end of file diff --git a/wildcards.py b/wildcards.py index f8cd061..c1b02d8 100644 --- a/wildcards.py +++ b/wildcards.py @@ -168,6 +168,6 @@ class wildcards: #if __name__ == '__main__' : # 테스트용 test="{3$$a1|{b2|c3|}|d4|{-$$|f|g}|{-2$$h||i}|{1-$$j|k|}}/{$$l|m|}/{0$$n|}" -print(wildcards.run(test)) -print(wildcards.run("{9$$a|b}")) -print(wildcards.run("__my__")) +print("wildcards test : "+wildcards.run(test)) +#print("wildcards test : "+wildcards.run("{9$$a|b}")) +print("wildcards test : "+wildcards.run("__my__"))