Using the NewProjects Folder

The NewProjects folder is a convenient place to store projects you are working on along with your custom resources in a separate folder. In order for this to work you can use the following steps:

original_cwd = os.getcwd()

os.chdir(os.path.abspath(os.path.join(os.path.dirname(__file__), '..','..')))

If wanting to use the GUI, add this code to set this location as your environments folder:

sightlab.set_env_path("../Demos/Shopping/resources/")

Now if you updated SightLab or move it, just copy over the NewProjects folder and you will have access to any custom projects