예제 #1
0
파일: Printer.py 프로젝트: Ledoux/GntSYS
	def callAfterBasesWithPrinter(self,*_ArgsList,**_KwargsDict):
		'''
			<Help>
				Call a Printer to display the Variable in a human readable manner
			</Help>
		
			<Test>
				#Load ShareYourSystem as SYS
				import ShareYourSystem as SYS
				#
				#Define a Dict
				Dict={'ThisDict':{'ThingsDict':{'Thing':0},'MyObjectsList':[{'ID':0}]},'Stuff':"Sad"};
				#
				#Print the Dict
				print("The PrintedDictString is :");
				SYS.callAfterBasesWithPrinter(ConsolePrinter,Dict);
			</Test>
		'''
		if len(_ArgsList)>0:
			print(self.getPrintedVariableString(_ArgsList[0]))
		else:
			SYS.debug("I have nothing to print !")