View Single Post
  #1  
Old 07-25-2010, 03:30 PM
knightgba knightgba is offline
Member
 
Join Date: Jul 2010
Posts: 8
How to import the defaultdict into vizard

Hi, guys

I have got a chance to play with vizard in my univ lab. its quite nice
I already have had some experience in writing python scripts(very basica ones)

Here I have meet some problems.

First I want to use defaultdict(sets) in vizard to do some dirty work, but it seems viz doesn't know Python module collections and the following codes don't work

from collections import defaultdict

So I just want to know is it possible to use collections module in vizard? or viz has already got some build-in structure like defaultdict(sets) in python.

Second, I also want to add voice recognition element into my vizard scripts to make some nice VR demonstrations. Under pythonwin I can do this by using Microsoft Speech SDK(using COM). But I am not sure whether I can do the same thing in Vizard. So If its possible, could anyone give me some hints or advice. Appreciate a lot!

Last edited by knightgba; 07-25-2010 at 03:33 PM.
Reply With Quote