Post #5029: The standard double quotation marks in Python are straight quotes ", but you a
π Metadata
- Author: Pluglug
- Date: 2024-02-03 20:03:34
- Type:
answer - Quality Score: 8/10
- Reply to: post_05028
π·οΈ Tags
python-scripting beginner solved
βοΈ Related PME Features
- Python Scripting
- Macro Editor
π¬ Content
The standard double quotation marks in Python are straight quotes ", but you are using smart quotes (β). These are invalid as Python string literals.
# draw_menu(βss_shadingβ, frame=True, dx=0, dy=-30) # SyntaxError
draw_menu("ss_shading", frame=True, dx=0, dy=-30)