Begin

13 views
Skip to first unread message

deivid garcia betancourt

unread,
Sep 3, 2014, 10:33:44 PM9/3/14
to python_in...@googlegroups.com

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.

Justin Israel

unread,
Sep 4, 2014, 12:46:26 AM9/4/14
to python_in...@googlegroups.com
Hi,

You might find this section of the Maya documentation helpful: File Path Variables
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




--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/81620466-3e49-42fe-91f3-d13c11aeccfc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages