add simple tools

This commit is contained in:
Justus Kuhlmann 2025-03-30 18:02:47 +00:00
parent 575cfd3b7a
commit a2b96becc1

11
corrlib/tools.py Normal file
View file

@ -0,0 +1,11 @@
def str2list(s):
return s.split(",")
def list2str(l):
s = l[0]
for it in l[1:]:
s += ',' + it
return s