PysideCode.MyTool.qtshim is not != PysideCode.myTool.qtshim :) On Sun, Dec 6, 2015 at 10:46 PM, David Moulder <da...@thirstydevil.co.uk> wrote:
> You're a folder to deep when setting the python path. Hope that helps. > > On Mon, 7 Dec 2015 06:40 Padraig Ó Cuínn <patchquinnanimat...@gmail.com> > wrote: > >> >> >> PysideCode >> myTool >> myToolUI >> __init__.py >> myToolUI.py >> MyToolCode >> __init__.py >> __init__.py >> qtshim.py >> mayautils.py >> __init__.py >> >> >> Hi everyone above is my current working directory, as you can see they >> all have their __init__.py files and can be easily accessed from code. >> So what is my problem.... well then... >> >> I cannot get to qtshim.py from mayapy.exe I am using fully qualified >> naming >> >> from PysideCode.myTool.qtshim import QtGui, QtCore, Signal <<< Yes from >> Robs Book :) >> >> importError : No module names PysideCode.MyTool.qtshim >> >> here is the weird part >>> script editor accepts it and so does Pycharm, >> >> PYTHONPATH = C:\Users\OCuinn\Dropbox\Maya Scripts\Python Code\PysideCode >> >> its in sys.path and in windows environment variables >> >> however > set PYTHONPATH=%PYTHONPATH%;C:\Users\OCuinn\Dropbox\Maya >> Scripts\Python Code\PysideCode goes through but comes out False when >> checked every time. >> >> >> EXPERTS I NEED YOUR HELP! >> >> Padraig >> >> -- >> 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_maya+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/python_inside_maya/786e3fb5-4e3c-49f5-8ca1-52a4438825ea%40googlegroups.com >> <https://groups.google.com/d/msgid/python_inside_maya/786e3fb5-4e3c-49f5-8ca1-52a4438825ea%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 python_inside_maya+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/CABD4PkRqoHwKVKrcWQ34F1Lci%3DZgdui4tphUyD-RS_6W-HDntA%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CABD4PkRqoHwKVKrcWQ34F1Lci%3DZgdui4tphUyD-RS_6W-HDntA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- --:: Kurian ::-- -- 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_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CANEMyhPAFm4vcM-sNmw6DZm8fe6raq4uFnk%3DeVp1qSH3OetBbQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.