Saori Yoshimoto work notes since 2018

Friday, October 18, 2019

[Hython] File SOP Read Path

# python
path = ch(“../pathToYourFileNode/file”).split('/')
file = path.pop().split('.')
file.append('obj')
file.insert(0,'prefix')
file = ('.').join(file)
path.append('subfolder')
path = ('/').join(path)
return ('/').join()

No comments:

Post a Comment