I need python to generate exactly such string literal:
e.b=\"e\"
But I can't come up with idea how to do so. I was trying:
r'e.b=\"e\"' => e.b=\\"e\\"
"""e.b=\"e\"""" => e.b="e"
And many other possibilities but any ends up with exactly e.b=\"e\"
Any ideas?