This commit is contained in:
yumoqing 2020-10-29 10:52:20 +08:00
commit cdb381a0a0

View File

@ -6,12 +6,24 @@ import stat
import os.path import os.path
import platform import platform
import time import time
import random
""" """
import win32api import win32api
""" """
import sys import sys
def filepoolpath(root):
paths=[191,193,197,199,97]
v = random.randint(0,9999999)
path = os.path.abspath(os.path.join(root,
str(v % paths[0]),
str(v % paths[1]),
str(v % paths[2]),
str(v % paths[3]),
str(v % paths[4])))
return path
def startsWith(text,s): def startsWith(text,s):
return text[:len(s)] == s return text[:len(s)] == s