This commit is contained in:
yumoqing 2020-10-18 16:52:32 +08:00
parent b709c57233
commit 028f255021

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