Пример #1
0
 def addPath(pathname):
     currURL = current_user.getUserData()
     urlFile = open(currURL,'w+')
     urlFile.write(pathname)
     urlFile.close()
Пример #2
0
 def subPath():
     currURL = current_user.getUserData()
     urlFile = open(currURL,'r+')
     sub_dir = urlFile.read()
     urlFile.close()
     return sub_dir