/usr/share/doc/tcl-snack-doc/examples/python/MinWave.py is in tcl-snack-doc 2.2.10.20090623-dfsg-6.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | #! /usr/bin/env python
import sys
if sys.version_info[0] == 2:
from Tkinter import *
else:
from tkinter import *
from tkSnack import *
root = Tkinter.Tk()
initializeSnack(root)
s = Sound(load='ex1.wav')
c = SnackCanvas(height=100, width=400)
c.pack()
c.create_waveform(0, 0, sound=s, width=400)
Button(root, text='Exit', command=root.quit).pack()
root.mainloop()
|