PEATSA/WebApp/UtilityFunctions.py
def ResourceDirectory():

	'''Returns the path to the resource directory for the Backend'''

	#Assign the location of the module to a variable
	moduleLocation = os.path.dirname(__file__)
	moduleLocation = os.path.abspath(moduleLocation)

	#Create the resource path
	resources = os.path.join(moduleLocation, 'Resources')
		
	return resources
Returns the path to the resource directory for the Backend
Returns the path to the resource directory for the Backend
Returns the path to the resource directory for the Backend
def ResourceDirectory():
	moduleLocation = os.path.dirname(__file__)
	moduleLocation = os.path.abspath(moduleLocation)
	resources = os.path.join(moduleLocation, 'Resources')
	return resources
def ResourceDirectory ( ) : moduleLocation = os . path . dirname ( __file__ ) moduleLocation = os . path . abspath ( moduleLocation ) resources = os . path . join ( moduleLocation , 'Resources' ) return resources
Returns the path to the resource directory for the Backend
Returns the path to the resource directory for the Backend
'''Returns the path to the resource directory for the Backend''' #Assign the location of the module to a variable #Create the resource path