conson clean
This commit is contained in:
+4
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user