#!/usr/bin/python
import gtkhtml2
import gtk
import sys
import commands
file = commands.getoutput('find /home/ryanpg/Desktop -name SinOsc.html')
f = open(file)
html = f.read()
document = gtkhtml2.Document()
document.clear()
document.open_stream('text/html')
document.write_stream(html)
document.close_stream()
view = gtkhtml2.View()
view.set_document(document)
sw = gtk.ScrolledWindow()
sw.add(view)
window = gtk.Window()
window.add(sw)
window.set_default_size(600, 400)
window.show_all()
gtk.main()