Create generalHelper.py
This commit is contained in:
parent
cd08451cd2
commit
3f69038285
7
helpers/generalHelper.py
Normal file
7
helpers/generalHelper.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
def zingonify(d):
|
||||
"""
|
||||
Zingonifies a string
|
||||
:param d: input dict
|
||||
:return: zingonified dict as str
|
||||
"""
|
||||
return "|".join(f"{k}:{v}" for k, v in d.items())
|
Reference in New Issue
Block a user