sexta-feira, 28 de julho de 2017

Append new path in python

just use sys.path.appenf()
in this case  i have a folder named  chrysl666toolkit
and a empty __init__py  and the main code itself inside cacheCommander.py



import sys
sys.path.append("/home/chrysl666/HoudiniProjects/MIX/chrysl666toolkit")
import cacheCommander

2 comentários: