/usr/share/python-visionegg/demo/ephys_gui.pyw is in python-visionegg 1.2.1-2.
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 23 | #! /usr/bin/python
import sys
import Pyro
import Tkinter, tkMessageBox
import VisionEgg
VisionEgg.start_default_logging(); VisionEgg.watch_exceptions()
from VisionEgg.PyroApps.EPhysGUI import client_list, AppWindow, get_server
# You can add your own controllers and GUIs to client_list
result = get_server()
if result:
hostname,port = result
app_window = AppWindow(client_list=client_list,
server_hostname=hostname,
server_port=port)
app_window.winfo_toplevel().wm_iconbitmap()
app_window.pack(expand=1,fill=Tkinter.BOTH)
app_window.mainloop()
|