PEATSA/Core/Environment.py
def containsFile(self, filename):
	
		'''Returns True if the directory contains filename - False otherwise
		
		Note: Only check in the top-level directory'''
		
		filename = os.path.abspath(filename)
		path = os.path.split(filename)[0]
		isPresent = False
		
		if path == self.directory:
			isPresent = True
		
		return isPresent
Returns True if the directory contains filename - False otherwise
		
		Note: Only check in the top-level directory
Returns True if the directory contains filename - False otherwise
Note: Only check in the top-level directory
Returns True if the directory contains filename - False otherwise Note : Only check in the top - level directory
def containsFile(self, filename):
		filename = os.path.abspath(filename)
		path = os.path.split(filename)[0]
		isPresent = False
		if path == self.directory:
			isPresent = True
		return isPresent
def containsFile ( self , filename ) : filename = os . path . abspath ( filename ) path = os . path . split ( filename ) [ 0 ] isPresent = False if path == self . directory : isPresent = True return isPresent
Returns True if the directory contains filename - False otherwise
Note: Only check in the top-level directory
Returns True if the directory contains filename - False otherwise Note : Only check in the top - level directory
'''Returns True if the directory contains filename - False otherwise
		
		Note: Only check in the top-level directory'''
self
filename