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/CAPGFgA2UKntdSQUtwvmV0K23VO6X1Hn6Kku77YvTkSQ99vEFCw%40mail.gmail.com.
