Exchanging Quotes

Sometimes you need to exchange a choice of quotes in some code.

Input

mystring = 'This quoted string contains \' and is also'
           'surrounded with \' characters.  It is also'
           'a multiline string too'

Output

mystring = "This quoted string contains ' and used to be"
           "surrounded with ' characters.  It is also"
           "a multiline string too"