There are two simple ways to do this. The first is to just use a backslash before each quotation mark, like so:
s = "\"variable\""
The other way is, if there're double quotation marks surrounding the string, use single single quotes, and Python will recognize those as a part of the string (and vice versa):
s = '"variable"'