I do this:
a = \'hello\'
And now I just want an independent copy of a:
a
import copy b = str(a) c = a[:] d = a
Copying a string can be done two ways either copy the location a = "a" b = a or you can clone which means b wont get affected when a is changed which is done by a = 'a' b = a[:]