ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/ns_dev/Python/NinoCode/Active_prgs/Evidox/OpProdInv.py
Revision: 633
Committed: Wed Mar 28 13:54:39 2018 UTC (8 years ago) by nino.borges
Content type: text/x-python
File size: 511 byte(s)
Log Message:
A folder for my Evidox programs

File Contents

# User Rev Content
1 nino.borges 633 """
2    
3     OpProdInv
4    
5     Created By
6     Emanuel Borges
7     08.07.2017
8    
9     a program that will attempt to analyze a production from oposing where it's just loose native files.
10    
11     """
12    
13     import os
14    
15     if __name__ == '__main__':
16     startDir = r"\\lab-28\F\DESIGN"
17     outputFile = open(r"C:\Test-PY\SchneiderDesignReport.txt",'w')
18    
19    
20     for root, dirs, files in os.walk(startDir):
21     if files:
22     pass
23     else:
24     outputFile.write( "%s contains no files\n"% root)
25    
26     outputFile.close()