Newbie Python, won't compile.. indent error?

Does this mean I screwed up an indent somewhere? .py attached. Anyone mind taking a look? Thank you!

Python encountered IndentationError(‘unexpected indent’, (’/opt/Autodesk/shared/python/mvp_exporters/’, 1, 1, ’ def get_media_panel_custom_ui_actions():\n’)) in unknown code
[PYTHON HOOK] An error occurred. Ignoring python hooks from /opt/Autodesk/shared/python/mvp_exporters/ (2.7 KB)

It looks like there’s a space before ‘def’ in line 1. Try removing that and see if it runs.

1 Like

Thanks. That was the first error…then I had to update the print to print(

Thanks @andymilkis !