Hi, You might find this section of the Maya documentation helpful: File Path Variables <http://download.autodesk.com/global/docs/maya2014/en_us/index.html?url=files/Environment_Variables_File_path_variables.htm,topicNumber=d30e149667> In a nutshell though, the scripts location is for MEL files, and the PYTHONPATH environment variable determines where python will look for modules to be imported.
-- justin On Thu, Sep 4, 2014 at 2:33 PM, deivid garcia betancourt < [email protected]> wrote: > Hello greetings from Colombia I'm New Here, I would like to know rune > thing and what is the exact path to save my file to import from maya now > leave me no error. > import exampleUI > reload (exampleUI) > exampleUI.UI () > # Error: line 1: ImportError: file line 1: No module named exampleUI # > > I am writing a text editor called geany and put it in my documents / maya > 2013 / scripts and still I get this error. > > Greetings. > > -- > 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/81620466-3e49-42fe-91f3-d13c11aeccfc%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/81620466-3e49-42fe-91f3-d13c11aeccfc%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAPGFgA3LXF_9Y2kM9YdiTKXcxjJoeL7X6ZkTe0AmtwTBQ2qrYw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
