from os import listdir
from os.path import isfile, join
def main():
mocapFbxPath = 'J:\\hx\\work\\prod\\mcp\\motiondata\\export'
onlyfiles = [f for f in listdir(mocapFbxPath) if isfile(join(mocapFbxPath, f))]
for _file in onlyfiles:
print(_file)
# cmds.file(new=True, force=True)
# cmds.file(fileName, open=True)
if __name__ == '__main__':
main()
More than 1 year has passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme