Back to index

python-biopython  1.60
xbbtools.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 # Created: Thu Jul 13 11:09:00 2000
00003 # Last changed: Time-stamp: <00/12/02 15:57:45 thomas>
00004 # thomas@cbs.dtu.dk, http://www.cbs.dtu.dk/thomas
00005 # File: xbbtools.py
00006 
00007 # Copyright 2000 by Thomas Sicheritz-Ponten.  All rights reserved.
00008 # This code is part of the Biopython distribution and governed by its
00009 # license.  Please see the LICENSE file that should have been included
00010 # as part of this package.
00011 
00012 import sys
00013 sys.path.insert(0, '.')
00014 from Tkinter import *
00015 
00016 from xbb_widget import xbb_widget
00017 win = Tk()
00018 
00019 xbbtools = xbb_widget()
00020 xbbtools.main_frame.option_add('*frame.background', 'dimgrey')
00021 
00022 try:
00023     xbbtools.open(sys.argv[1])
00024 except:
00025     pass
00026 
00027 win.mainloop()
00028