
I have the following variable assignment:
xpath_query="xpath='//a[@id="mylink"]'"
This is giving me an error in my pycharm editor and giving a syntax error when I run this code. What am I doing wrong?
when I hold the cursor over the red squiggle it says:"end of statement expected "