conson clean

This commit is contained in:
lilly
2023-03-23 17:15:51 +09:00
parent cf88e45268
commit 884a20289b
4 changed files with 21 additions and 18 deletions
+4 -4
View File
@@ -21,16 +21,16 @@ from PIL import Image
from PIL.PngImagePlugin import PngInfo
import numpy as np
print(f"SimpleSampler __name__ {__name__}")
print(f"SimpleSampler __file__ {os.path.splitext(os.path.basename(__file__))[0]}")
#print(f"SimpleSampler __name__ {__name__}")
#print(f"SimpleSampler __file__ {os.path.splitext(os.path.basename(__file__))[0]}")
import os
if __name__ == os.path.splitext(os.path.basename(__file__))[0] :
from ConsoleColor import print, console
else:
from .ConsoleColor import print, console
print(__file__)
print(os.path.basename(__file__))
#print(__file__)
#print(os.path.basename(__file__))
#----------------------------
# wildcards support check