Forum: Poser Python Scripting


Subject: Python import problem

gbn opened this issue on Aug 25, 2007 ยท 4 posts


PhilC posted Sat, 25 August 2007 at 7:19 PM

I use:-

import os
import sys
import poser
pathname = os.path.split(poser.AppLocation())[0]
scriptPath = os.path.join(pathname, 'Runtime', 'Python', 'poserScripts', 'ScriptsMenu', 'Utility')
sys.path.append(scriptPath)
import newRJB