[Bio] / Speck / DotViewer.py Repository:
ViewVC logotype

View of /Speck/DotViewer.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (download) (as text) (annotate) (vendor branch)
Thu Sep 9 19:54:06 2004 UTC (15 years, 2 months ago) by sheradon
Branch: init, MAIN
CVS Tags: v0, HEAD
Changes since 1.1: +0 -0 lines
Initial load to CVS

#!/usr/bin/env python

from Speck.DotCanvas import DotCanvas
from wxPython.wx import *

if len(sys.argv) > 1: fn = sys.argv[1]
else:
	print 'Usage: %s <filename.dot>' % sys.argv[0]
	sys.exit(-1) 
app = wxPySimpleApp()
win = wxFrame(None, wxID_ANY, 'Speck DOT viewer', size = (640, 480))
DotCanvas(win, file(fn).read())
win.Show(True)
app.MainLoop()


MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3