OCR Project.py
def initFolder(dir_path):
	'''
	Create the config folder incase it's not existed
	'''
	if not os.path.isdir(dir_path):
		try:
			os.mkdir(dir_path)
		except OSError:
			print ("Creation of the directory %s failed" % dir_path)
		else:
			print ("Successfully created the directory %s " % dir_path)
		#Check local database

	Create the config folder incase it's not existed
	
Create the config folder incase it's not existed
Create the config folder incase it ' s not existed
def initFolder(dir_path):
	if not os.path.isdir(dir_path):
		try:
			os.mkdir(dir_path)
		except OSError:
			print ("Creation of the directory %s failed" % dir_path)
		else:
			print ("Successfully created the directory %s " % dir_path)
def initFolder ( dir_path ) : if not os . path . isdir ( dir_path ) : try : os . mkdir ( dir_path ) except OSError : print ( "Creation of the directory %s failed" % dir_path ) else : print ( "Successfully created the directory %s " % dir_path )
Create the config folder incase it's not existed
Create the config folder incase it ' s not existed
'''
	Create the config folder incase it's not existed
	''' #Check local database
dir_path