|
@@ -442,6 +442,10 @@ class File(object):
|
|
def cur_path():
|
|
def cur_path():
|
|
return os.path.split(os.path.realpath(__file__))[0] + '/'
|
|
return os.path.split(os.path.realpath(__file__))[0] + '/'
|
|
|
|
|
|
|
|
+ @staticmethod
|
|
|
|
+ def getFiles(path):
|
|
|
|
+ return os.listdir(path)
|
|
|
|
+
|
|
@staticmethod
|
|
@staticmethod
|
|
def path():
|
|
def path():
|
|
return os.sys.path[0] + '/'
|
|
return os.sys.path[0] + '/'
|