def getDoerStrWithKeyStr(_KeyStr): #Check if len(_KeyStr)>0: #Split the Str into words WordStrsList=SYS.getWordStrsListWithStr(_KeyStr) if len(WordStrsList)>0: PrefixWordStr="".join(WordStrsList[:-1]) LastWordStr=WordStrsList[-1] #debug ''' print('Doer getDoerStrWithKeyStr') print('PrefixWordStr is '+str(PrefixWordStr)) print('LastWordStr is '+str(LastWordStr)) print('') ''' if LastWordStr[0] in ["P","p"] and LastWordStr[1:]=="roperty": return PrefixWordStr+LastWordStr[0]+"ropertize" #Default return return _KeyStr+'er' #Return "" return ""
def getPropertizedVariableWithItemTuple(_ItemTuple): #Maybe it is already defined if 'PropertyInitVariable' in _ItemTuple[1]: return _ItemTuple[1]['PropertyInitVariable'] else: #Return the default one associated with the type return SYS.getTypeClassWithTypeStr(SYS.getWordStrsListWithStr(_ItemTuple[0])[-1])
def getDoingStrWithDoneStr(_DoneStr): #Check if len(_DoneStr)>0: #Split the Str into words WordStrsList=SYS.getWordStrsListWithStr(_DoneStr) if len(WordStrsList)>0: PrefixWordStr="".join(WordStrsList[:-1]) LastWordStr=WordStrsList[-1] #debug ''' print('Doer getDoingStrWithDoneStr') print('PrefixWordStr is '+str(PrefixWordStr)) print('LastWordStr is '+str(LastWordStr)) print('') ''' if LastWordStr[0] in ['M','m'] and LastWordStr[1:]=='ade': return PrefixWordStr+LastWordStr[0]+'aking' elif LastWordStr[0] in ['F','f'] and LastWordStr[1:]=='ound': return PrefixWordStr+LastWordStr[0]+'inding' elif LastWordStr[0] in ["F","f"] and LastWordStr[1:]=="lattened": return PrefixWordStr+LastWordStr[0]+"lattening" elif LastWordStr[0] in ["D","d"] and LastWordStr[1:]=="erived": return PrefixWordStr+LastWordStr[0]+"eriving" elif LastWordStr[0] in ["M","m"] and LastWordStr[1:]=="ultiplied": return PrefixWordStr+LastWordStr[0]+"ultiplying" elif LastWordStr[0] in ["M","m"] and LastWordStr[1:]=="odulized": return PrefixWordStr+LastWordStr[0]+"odulizing" elif LastWordStr[0] in ["G","g"] and LastWordStr[1:]=="rabbed": return PrefixWordStr+LastWordStr[0]+"rabbing" #Default return return _DoneStr[:-2]+"ing" if _DoneStr[-3]!='i' else _DoneStr[:-3]+'ying' #Return "" return ""
def getDoStrWithDoerStr(_DoerStr): #Check if len(_DoerStr)>0: #Split the Str into words WordStrsList=SYS.getWordStrsListWithStr(_DoerStr) if len(WordStrsList)>0: PrefixWordStr="".join(WordStrsList[:-1]) LastWordStr=WordStrsList[-1] #debug ''' print('Doer getDoStrWithDoerStr') print('PrefixWordStr is '+str(PrefixWordStr)) print('LastWordStr is '+str(LastWordStr)) print('') ''' if LastWordStr[0] in ["A","a"] and LastWordStr[1:]=="pplyier": return PrefixWordStr+LastWordStr[0]+"pply" elif LastWordStr[0] in ["M","m"] and LastWordStr[1:]=="ultiplier": return PrefixWordStr+LastWordStr[0]+"ultiply" elif LastWordStr[0] in ["A","a"] and LastWordStr[1:]=="ttributer": return PrefixWordStr+LastWordStr[0]+"ttribute" elif LastWordStr[0] in ["A","a"] and LastWordStr[1:]=="nalyzer": return PrefixWordStr+LastWordStr[0]+"nalyze" elif LastWordStr[0] in ["I","i"] and LastWordStr[1:]=="nstancer": return PrefixWordStr+LastWordStr[0]+"nstance" elif LastWordStr[0] in ["C","c"] and LastWordStr[1:]=="oncluder": return PrefixWordStr+LastWordStr[0]+"onclude" elif LastWordStr[0] in ["N","n"] and LastWordStr[1:]=="oder": return PrefixWordStr+LastWordStr[0]+"ode" elif LastWordStr[0] in ["S","s"] and LastWordStr[1:]=="tructurer": return PrefixWordStr+LastWordStr[0]+"tructure" elif LastWordStr[0] in ["M","m"] and LastWordStr[1:]=="erger": return PrefixWordStr+LastWordStr[0]+"erge" elif LastWordStr[0] in ["R","r"] and LastWordStr[1:]=="unner": return PrefixWordStr+LastWordStr[0]+"un" elif LastWordStr[0] in ["D","d"] and LastWordStr[1:]=="ynamizer": return PrefixWordStr+LastWordStr[0]+"ynamize" elif LastWordStr[0] in ["M","m"] and LastWordStr[1:]=="obilizer": return PrefixWordStr+LastWordStr[0]+"obilize" elif LastWordStr[0] in ["S","s"] and LastWordStr[1:]=="ettler": return PrefixWordStr+LastWordStr[0]+"ettle" elif LastWordStr[0] in ["S","s"] and LastWordStr[1:]=="aver": return PrefixWordStr+LastWordStr[0]+"ave" elif LastWordStr[0] in ["D","d"] and LastWordStr[1:]=="atabaser": return PrefixWordStr+LastWordStr[0]+"atabase" elif LastWordStr[0] in ["F","f"] and LastWordStr[1:]=="indoer": return PrefixWordStr+LastWordStr[0]+"ind" elif LastWordStr[0] in ["P","p"] and LastWordStr[1:]=="roducer": return PrefixWordStr+LastWordStr[0]+"roduce" elif LastWordStr[0] in ["S","s"] and LastWordStr[1:]=="imulater": return PrefixWordStr+LastWordStr[0]+"imulate" elif LastWordStr[0] in ["C","c"] and LastWordStr[1:]=="apturer": return PrefixWordStr+LastWordStr[0]+"apture" elif LastWordStr[0] in ["C","c"] and LastWordStr[1:]=="loser": return PrefixWordStr+LastWordStr[0]+"lose" elif LastWordStr[0] in ["F","f"] and LastWordStr[1:]=="igurer": return PrefixWordStr+LastWordStr[0]+"igure" elif LastWordStr[0] in ["M","m"] and LastWordStr[1:]=="oniter": return PrefixWordStr+LastWordStr[0]+"onit" elif LastWordStr[0] in ["O","o"] and LastWordStr[1:]=="bserver": return PrefixWordStr+LastWordStr[0]+"bserve" elif LastWordStr[0] in ["P","p"] and LastWordStr[1:]=="opulater": return PrefixWordStr+LastWordStr[0]+"opulate" elif LastWordStr[0] in ["C","c"] and LastWordStr[1:]=="oupler": return PrefixWordStr+LastWordStr[0]+"ouple" elif LastWordStr[0] in ["S","s"] and LastWordStr[1:]=="canner": return PrefixWordStr+LastWordStr[0]+"can" elif LastWordStr[0] in ["R","r"] and LastWordStr[1:]=="etriever": return PrefixWordStr+LastWordStr[0]+"etrieve" elif LastWordStr[0] in ["S","s"] and LastWordStr[1:]=="haper": return PrefixWordStr+LastWordStr[0]+"hape" elif LastWordStr[0] in ["H","h"] and LastWordStr[1:]=="ierarchizer": return PrefixWordStr+LastWordStr[0]+"ierarchize" elif LastWordStr[0] in ["E","e"] and LastWordStr[1:]=="xecuter": return PrefixWordStr+LastWordStr[0]+"xecute" elif LastWordStr[0] in ["R","r"] and LastWordStr[1:]=="ecuperater": return PrefixWordStr+LastWordStr[0]+"ecuperate" elif LastWordStr[0] in ["C","c"] and LastWordStr[1:]=="loner": return PrefixWordStr+LastWordStr[0]+"lone" elif LastWordStr[0] in ["T","t"] and LastWordStr[1:]=="abler": return PrefixWordStr+LastWordStr[0]+"able" elif LastWordStr[0] in ["I","i"] and LastWordStr[1:]=="temizer": return PrefixWordStr+LastWordStr[0]+"temize" elif LastWordStr[0] in ["U","u"] and LastWordStr[1:]=="pdater": return PrefixWordStr+LastWordStr[0]+"pdate" elif LastWordStr[0] in ["C","c"] and LastWordStr[1:]=="oupler": return PrefixWordStr+LastWordStr[0]+"ouple" elif LastWordStr[0] in ["P","p"] and LastWordStr[1:]=="oker": return PrefixWordStr+LastWordStr[0]+"oke" elif LastWordStr[0] in ["G","g"] and LastWordStr[1:]=="uider": return PrefixWordStr+LastWordStr[0]+"uide" elif LastWordStr[0] in ["A","a"] and LastWordStr[1:]=="xer": return PrefixWordStr+LastWordStr[0]+"xe" elif LastWordStr[0] in ["R","r"] and LastWordStr[1:]=="ater": return PrefixWordStr+LastWordStr[0]+"ate" elif LastWordStr[0] in ["S","s"] and LastWordStr[1:]=="harer": return PrefixWordStr+LastWordStr[0]+"hare" elif LastWordStr[0] in ["R","r"] and LastWordStr[1:]=="esetter": return PrefixWordStr+LastWordStr[0]+"eset" elif LastWordStr[0] in ["W","w"] and LastWordStr[1:]=="riter": return PrefixWordStr+LastWordStr[0]+"rite" elif LastWordStr[0] in ["R","r"] and LastWordStr[1:]=="eadmer": return PrefixWordStr+LastWordStr[0]+"eadme" elif LastWordStr[0] in ["J","j"] and LastWordStr[1:]=="oiner": return PrefixWordStr+LastWordStr[0]+"oin" elif LastWordStr[0] in ["R","r"] and LastWordStr[1:]=="outer": return PrefixWordStr+LastWordStr[0]+"oute" elif LastWordStr[0] in ["W","w"] and LastWordStr[1:]=="eaver": return PrefixWordStr+LastWordStr[0]+"eave" elif LastWordStr[0] in ["D","d"] and LastWordStr[1:]=="ebugger": return PrefixWordStr+LastWordStr[0]+"ebug" elif LastWordStr[0] in ["D","d"] and LastWordStr[1:]=="eleter": return PrefixWordStr+LastWordStr[0]+"elete" elif LastWordStr[0] in ["I","i"] and LastWordStr[1:]=="mitater": return PrefixWordStr+LastWordStr[0]+"mitate" elif LastWordStr[0] in ["M","m"] and LastWordStr[1:]=="oduler": return PrefixWordStr+LastWordStr[0]+"odule" elif LastWordStr[0] in ["S","s"] and LastWordStr[1:]=="torer": return PrefixWordStr+LastWordStr[0]+"tore" elif LastWordStr[0] in ["F","f"] and LastWordStr[1:]=="iler": return PrefixWordStr+LastWordStr[0]+"ile" elif LastWordStr[0] in ["P","p"] and LastWordStr[1:]=="rinter": return '_'+PrefixWordStr+LastWordStr[0]+"rint" elif LastWordStr[0] in ["F","f"] and LastWordStr[1:]=="eaturer": return PrefixWordStr+LastWordStr[0]+"eature" elif LastWordStr[0] in ["D","d"] and LastWordStr[1:]=="eriver": return PrefixWordStr+LastWordStr[0]+"erive" elif LastWordStr[0] in ["G","g"] and LastWordStr[1:]=="rabber": return PrefixWordStr+LastWordStr[0]+"rab" elif LastWordStr[0] in ["F","f"] and LastWordStr[1:]=="lattener": return PrefixWordStr+LastWordStr[0]+"latten" elif LastWordStr[0] in ["M","m"] and LastWordStr[1:]=="odulizer": return PrefixWordStr+LastWordStr[0]+"odulize" elif LastWordStr[0] in ["M","m"] and LastWordStr[1:]=="aker": return PrefixWordStr+LastWordStr[0]+"ake" elif LastWordStr[0] in ["F","f"] and LastWordStr[1:]=="indor": return PrefixWordStr+LastWordStr[0]+"ind" elif LastWordStr[0] in ["M","m"] and LastWordStr[1:]=="apper": return PrefixWordStr+LastWordStr[0]+"ap" elif LastWordStr[0] in ["F","f"] and LastWordStr[1:]=="unctor": return PrefixWordStr+LastWordStr[0]+"unc" elif LastWordStr[0] in ["S","s"] and LastWordStr[1:]=="etter": return PrefixWordStr+LastWordStr[0]+"et" elif LastWordStr[0] in ["G","g"] and LastWordStr[1:]=="etter": return PrefixWordStr+LastWordStr[0]+"et" elif LastWordStr[0] in ["P","p"] and LastWordStr[1:]=="ropertiser": return PrefixWordStr+LastWordStr[0]+"ropertize" #Default return return _DoerStr[:-2] #Return "" return ""
def getDoneStrWithDoStr(_DoStr): #Check if len(_DoStr)>0: #Split the Str into words WordStrsList=SYS.getWordStrsListWithStr(_DoStr) if len(WordStrsList)>0: PrefixWordStr="".join(WordStrsList[:-1]) LastWordStr=WordStrsList[-1] #debug ''' print('Doer getDoneStrWithDoStr') print('PrefixWordStr is '+str(PrefixWordStr)) print('LastWordStr is '+str(LastWordStr)) print('') ''' if LastWordStr[0] in ["A","a"] and LastWordStr[1:]=='pply': return PrefixWordStr+LastWordStr[0]+'pplied' elif LastWordStr[0] in ["M","m"] and LastWordStr[1:]=="ultiply": return PrefixWordStr+LastWordStr[0]+"ultiplied" elif LastWordStr[0]=='_' and LastWordStr[1] in ["P","p" ] and LastWordStr[1:]=="rint": return PrefixWordStr+LastWordStr[0]+"rinted" elif LastWordStr[0] in ["M","m"] and LastWordStr[1:]=="odulize": return PrefixWordStr+LastWordStr[0]+"odulized" elif LastWordStr[0] in ["T","t"] and LastWordStr[1:]=="able": return PrefixWordStr+LastWordStr[0]+"abled" elif LastWordStr[0] in ["C","c"] and LastWordStr[1:]=="lone": return PrefixWordStr+LastWordStr[0]+"loned" elif LastWordStr[0] in ["A","a"] and LastWordStr[1:]=="ttention": return PrefixWordStr+LastWordStr[0]+"ttentioned" elif LastWordStr[0] in ["O","o"] and LastWordStr[1:]=="bserve": return PrefixWordStr+LastWordStr[0]+"bserved" elif LastWordStr[0] in ["R","r"] and LastWordStr[1:]=="oute": return PrefixWordStr+LastWordStr[0]+"outed" elif LastWordStr[0] in ["R","r"] and LastWordStr[1:]=="eset": return PrefixWordStr+LastWordStr[0]+"esetted" elif LastWordStr[0] in ["C","c"] and LastWordStr[1:]=="apture": return PrefixWordStr+LastWordStr[0]+"aptured" elif LastWordStr[0] in ["S","s"] and LastWordStr[1:]=="ave": return PrefixWordStr+LastWordStr[0]+"aved" elif LastWordStr[0] in ["G","g"] and LastWordStr[1:]=="uide": return PrefixWordStr+LastWordStr[0]+"uided" elif LastWordStr[0] in ["F","f"] and LastWordStr[1:]=="igure": return PrefixWordStr+LastWordStr[0]+"igured" elif LastWordStr[0] in ["M","m"] and LastWordStr[1:]=="onit": return PrefixWordStr+LastWordStr[0]+"onitered" elif LastWordStr[0] in ["C","c"] and LastWordStr[1:]=="ouple": return PrefixWordStr+LastWordStr[0]+"oupled" elif LastWordStr[0] in ["R","r"] and LastWordStr[1:]=="un": return PrefixWordStr+LastWordStr[0]+"unned" elif LastWordStr[0] in ["M","m"] and LastWordStr[1:]=="obilize": return PrefixWordStr+LastWordStr[0]+"obilized" elif LastWordStr[0] in ["R","r"] and LastWordStr[1:]=="ecuperate": return PrefixWordStr+LastWordStr[0]+"ecuperated" elif LastWordStr[0] in ["W","w"] and LastWordStr[1:]=="eave": return PrefixWordStr+LastWordStr[0]+"eaved" elif LastWordStr[0] in ["F","f"] and LastWordStr[1:]=="eature": return PrefixWordStr+LastWordStr[0]+"eatured" elif LastWordStr[0] in ["R","r"] and LastWordStr[1:]=="ate": return PrefixWordStr+LastWordStr[0]+"ated" elif LastWordStr[0] in ["S","s"] and LastWordStr[1:]=="cann": return PrefixWordStr+LastWordStr[0]+"canner" elif LastWordStr[0] in ["S","s"] and LastWordStr[1:]=="hape": return PrefixWordStr+LastWordStr[0]+"haped" elif LastWordStr[0] in ["J","j"] and LastWordStr[1:]=="oin": return PrefixWordStr+LastWordStr[0]+"oined" elif LastWordStr[0] in ["H","h"] and LastWordStr[1:]=="ierarchize": return PrefixWordStr+LastWordStr[0]+"ierarchized" elif LastWordStr[0] in ["I","i"] and LastWordStr[1:]=="nstance": return PrefixWordStr+LastWordStr[0]+"nstanced" elif LastWordStr[0] in ["R","r"] and LastWordStr[1:]=="etrieve": return PrefixWordStr+LastWordStr[0]+"etrieved" elif LastWordStr[0] in ["S","s"] and LastWordStr[1:]=="tore": return PrefixWordStr+LastWordStr[0]+"tored" elif LastWordStr[0] in ["M","m"] and LastWordStr[1:]=="erge": return PrefixWordStr+LastWordStr[0]+"erged" elif LastWordStr[0] in ["S","s"] and LastWordStr[1:]=="ettle": return PrefixWordStr+LastWordStr[0]+"ettled" elif LastWordStr[0] in ["U","u"] and LastWordStr[1:]=="pdate": return PrefixWordStr+LastWordStr[0]+"pdated" elif LastWordStr[0] in ["S","s"] and LastWordStr[1:]=="tructure": return PrefixWordStr+LastWordStr[0]+"tructured" elif LastWordStr[0] in ["D","d"] and LastWordStr[1:]=="atabase": return PrefixWordStr+LastWordStr[0]+"atabased" elif LastWordStr[0] in ["A","a"] and LastWordStr[1:]=="nalyze": return PrefixWordStr+LastWordStr[0]+"nalyzed" elif LastWordStr[0] in ["E","e"] and LastWordStr[1:]=="xecute": return PrefixWordStr+LastWordStr[0]+"xecuted" elif LastWordStr[0] in ["N","n"] and LastWordStr[1:]=="ode": return PrefixWordStr+LastWordStr[0]+"oded" elif LastWordStr[0] in ["R","r"] and LastWordStr[1:]=="eadme": return PrefixWordStr+LastWordStr[0]+"eadmed" elif LastWordStr[0] in ["C","c"] and LastWordStr[1:]=="onclude": return PrefixWordStr+LastWordStr[0]+"oncluded" elif LastWordStr[0] in ["C","c"] and LastWordStr[1:]=="lose": return PrefixWordStr+LastWordStr[0]+"losed" elif LastWordStr[0] in ["S","s"] and LastWordStr[1:]=="hare": return PrefixWordStr+LastWordStr[0]+"hared" elif LastWordStr[0] in ["A","a"] and LastWordStr[1:]=="ttribute": return PrefixWordStr+LastWordStr[0]+"ttributed" elif LastWordStr[0] in ["F","f"] and LastWordStr[1:]=="ile": return PrefixWordStr+LastWordStr[0]+"iled" elif LastWordStr[0] in ["D","d"] and LastWordStr[1:]=="ebug": return PrefixWordStr+LastWordStr[0]+"ebugged" elif LastWordStr[0] in ["D","d"] and LastWordStr[1:]=="eleter": return PrefixWordStr+LastWordStr[0]+"elete" elif LastWordStr[0] in ["D","d"] and LastWordStr[1:]=="erive": return PrefixWordStr+LastWordStr[0]+"erived" elif LastWordStr[0] in ["G","g"] and LastWordStr[1:]=="rab": return PrefixWordStr+LastWordStr[0]+"rabbed" elif LastWordStr[0] in ["F","f"] and LastWordStr[1:]=="latten": return PrefixWordStr+LastWordStr[0]+"lattened" elif LastWordStr[0] in ["I","i"] and LastWordStr[1:]=='nit': return PrefixWordStr+LastWordStr[0]+'nitiated' elif LastWordStr[0] in ["B","b"] and LastWordStr[1:]=="rian": return PrefixWordStr+LastWordStr[0]+"rianed" elif LastWordStr[0] in ["C","c"] and LastWordStr[1:]=="ondition": return PrefixWordStr+LastWordStr[0]+"onditioned" elif LastWordStr[0] in ["M","m"] and LastWordStr[1:]=="ap": return PrefixWordStr+LastWordStr[0]+"apped" elif LastWordStr[0] in ["F","f"] and LastWordStr[1:]=='unc': return PrefixWordStr+LastWordStr[0]+'uncted' elif LastWordStr[0] in ['D','d']and LastWordStr[1:]=='o': return PrefixWordStr+LastWordStr[0]+'one' elif LastWordStr[0] in ['P','p'] and LastWordStr[1:]=='arameter': return PrefixWordStr+LastWordStr[0]+'arameterized' elif LastWordStr[0] in ['F','f'] and LastWordStr[1:]=='ind': return PrefixWordStr+LastWordStr[0]+'ound' elif LastWordStr[0] in ['M','m'] and LastWordStr[1:]=='ake': return PrefixWordStr+LastWordStr[0]+'ade' elif LastWordStr[0] in ['F','f'] and LastWordStr[1:]=='ind': return PrefixWordStr+LastWordStr[0]+'ound' elif LastWordStr[0] in ['S','s'] and LastWordStr[1:]=='et': return PrefixWordStr+LastWordStr[0]+'etted' elif LastWordStr[0] in ['G','g'] and LastWordStr[1:]=='et': return PrefixWordStr+LastWordStr[0]+'etted' #Default return if _DoStr[-1] in ['n']: return _DoStr+_DoStr[-1]+"ed" elif _DoStr[-1] not in ['e','y']: return _DoStr+"ed" elif _DoStr[-1]=='y': return _DoStr[:-1]+'ied' else: return _DoStr[:-1]+'ed' #Return "" return ""
def getDictStr( _DictatedVariable,**_KwargVariablesDict ): #set in the _KwargVariablesDict if 'PrintDeepInt' not in _KwargVariablesDict: _KwargVariablesDict['PrintDeepInt']=0 #debug ''' print('Printer l.59 : getDictStr') print('_KwargVariablesDict is ',str(_KwargVariablesDict)) print('') ''' #Global global PrintAlineaStr #Definition the LocalPrintAlineaStr LocalPrintAlineaStr=PrintAlineaStr+"".join( [PrintIndentStr]*(_KwargVariablesDict['PrintDeepInt'])) #Init the DictStr DictStr="\n"+LocalPrintAlineaStr+"{ " #Scan the Items (integrativ loop) if type(_DictatedVariable)!=dict and hasattr( _DictatedVariable,"items" ): #debug ''' print('l 135 Printer') print('_DictatedVariable is ') print(_DictatedVariable) print('type(_DictatedVariable) is ') print(type(_DictatedVariable)) print('') ''' #items PrintTuplesList=_DictatedVariable.items() else: #sort PrintTuplesList=sorted( _DictatedVariable.iteritems(), key=lambda key_value: key_value[0] ) #Integrativ loop for seriaizing the items for __PrintKeyStr,__PrintValueVariable in PrintTuplesList: #debug ''' print('Printer l.127') print('__PrintKeyStr is',__PrintKeyStr) print('') ''' #set the begin of the line DictStr+="\n"+LocalPrintAlineaStr+PrintDictIndentStr #Force the cast into Str if type(__PrintKeyStr) not in [unicode,str]: __PrintKeyStr=str(__PrintKeyStr) #Get the WordStrsList WordStrsList=SYS.getWordStrsListWithStr(__PrintKeyStr) #Init the PrintValueVariableStr PrintValueVariableStr="None" #Split the case if it is a pointing variable or not if len(WordStrsList)>0: #Value is displayed """ if SYS.getWordStrsListWithStr(__PrintKeyStr)[-1]=="Pointer": #Pointer Case PrintValueVariableStr=getPointerStr( __PrintValueVariable, **_KwargVariablesDict ) """ """ elif ''.join(SYS.getWordStrsListWithStr(__PrintKeyStr)[-2:])=="PointersList": #debug ''' print('__PrintValueVariable is ',__PrintValueVariable) print('') ''' #Pointer Case PrintValueVariableStr=str( map( lambda List: getPointerStr( List, **_KwargVariablesDict), __PrintValueVariable ) ) if type(__PrintValueVariable)==list else "None" """ #Special Suffix Cases if PrintValueVariableStr=="None": #debug ''' print('go to represent') print('__PrintKeyStr is ',__PrintKeyStr) print('id(__PrintValueVariable) is ',id(__PrintValueVariable)) print('') ''' #Other Cases PrintValueVariableStr=getPrintStr( __PrintValueVariable, **_KwargVariablesDict ) #Key and Value Case DictStr+="'"+__PrintKeyStr+"' : "+PrintValueVariableStr #Add a last line DictStr+="\n"+LocalPrintAlineaStr+"}" #debug ''' print('DictStr is ',DictStr) print('') ''' #return the DictStr return DictStr