View Single Post
  #1  
Old 10-09-2009, 09:12 AM
GiudiceLab GiudiceLab is offline
Member
 
Join Date: May 2009
Location: Orono, ME
Posts: 49
Vizcore.cfg - help with syntax

As I mentioned in the previous post, our lab is getting bigger and we are making a push to organize our code development. One of the things we are working on is a central network folder for resources. We can add this folder to any script using
Code:
viz.res.addPath('//rootname/foldername/Components/resources')
and it works fine, but we want to create a config file that will do this automatically, and just copy it to our development computers. I see in the configuration basics documentation that I can use something like
Code:
viz.resource.path('//rootname/foldername/Components/resources')
but I can't get it to work, and I'm guessing it is a syntax error of some sort. Can someone tell me what the correct syntax is? Also, is it possible to use sys.path.append or some equivalent in the config file as well, so that we can drop Python libraries on the network too, without having to reconfigure each Python? Thanks in advance once again.
__________________
Virtual Environments and Multimodal Interaction (VEMI) Lab

This time, it should work...
Reply With Quote