Files
2022-03-02 00:22:37 -05:00

5 lines
138 B
Python

def strify(s):
x = '{{ {} }}'.format(
','.join("'{}'".format(b) for b in s)
)
print("char str{}[] = {};".format(s, x))