demoListScripts.py

demoListScripts.py
1 '''
2  Lists all the files in a folder
3 '''
4 import MaxPlus
5 import os
6 pyScriptsDir = os.path.join(MaxPlus.PathManager.GetScriptsDir(), 'python')
7 for root, dirs, files in os.walk(pyScriptsDir, topdown=False):
8  for name in files:
9  print name