Hi Justin, Only this line makes SyntaxError --> import System.blueprint_UI as blueprint_UI
I think there is no any weird character in a line. and I also attach the file path of "blueprint_UI" so you can check where is the mistake On Friday, December 4, 2020 at 11:28:54 AM UTC+5:30 [email protected] wrote: > Are there any weird characters in there? Does a proper ide flag it as > having syntax errors? > > On Fri, Dec 4, 2020, 4:26 PM Sachendra Shukla <[email protected]> wrote: > >> Hi Guys, >> >> When I run this Code in Maya. >> >> import os >> >> try: >> riggingToolRoot = os.environ ["RIGGING_TOOL_ROOT"] >> except : >> print ("RIGGING_TOOL_ROOT is not correctly Configured") >> else : >> import sys >> print (riggingToolRoot) >> Path = riggingToolRoot + "/Modules" >> if not Path in sys.path: >> sys.path.append(Path) >> import System.blueprint_UI as blueprint_UI >> reload (blueprint_UI) >> UI = blueprint_UI.Blueprint_UI() >> >> I get Error # Error: SyntaxError: file <maya console> line 17: invalid >> syntax # >> >> anyone can tell me why is happening? where I am Wrong? >> >> Thank You. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Python Programming for Autodesk Maya" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/python_inside_maya/c43c0171-129c-4100-b3b7-a7fb57a8d0b7n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/python_inside_maya/c43c0171-129c-4100-b3b7-a7fb57a8d0b7n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/14a33039-f5a3-4ba1-9664-05fe7017c184n%40googlegroups.com.
