00001 #!/usr/bin/env python 00002 # -*- coding: utf-8 -*- 00003 00004 import os 00005 import rospkg 00006 import SimpleHTTPServer 00007 00008 if __name__ == '__main__': 00009 rp = rospkg.RosPack() 00010 audiomonitor_path = rp.get_path('rospeex_webaudiomonitor') 00011 html_path = os.path.join(audiomonitor_path, 'web') 00012 os.chdir(html_path) 00013 SimpleHTTPServer.test()