This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Find and change calibration coefficient | |
#Instrument: IRT | |
import glob | |
import os | |
import tarfile | |
path = raw_input('Enter the path: (example: /data/archive/sgp/sgpirtE38.00):') | |
os.chdir(path) | |
print 'Number of files are:', len([name for name in os.listdir('.') if os.path.isfile(name)]) |