1. cf = ConfigParser.ConfigParser()
  2. cfPath = mayaScriptPath_config
  3. cf.read(cfPath)
  4. cf.set('Basic', 'version', VERSION )
  5. cf.set('Basic', 'folderName' , FOLDERNAME )
  6. cfFile = open(mayaScriptPath_config, 'w')
  7. cf.write(cfFile)
  8. cfFile.close()
文档更新时间: 2018-06-30 21:30   作者:刘电