1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-28 23:03:03 +04:00

Add new tests on python

This commit is contained in:
Vladislav Sovrasov
2016-01-28 15:43:08 +03:00
parent bc6ed1467b
commit ab4d375349
13 changed files with 839 additions and 41 deletions
+4 -1
View File
@@ -87,8 +87,11 @@ class App:
for fn in glob('*.py'):
name = splitfn(fn)[1]
if fn[0] != '_' and name not in exclude_list:
demos_lb.insert(tk.END, name)
self.samples[name] = fn
for name in sorted(self.samples):
demos_lb.insert(tk.END, name)
demos_lb.bind('<<ListboxSelect>>', self.on_demo_select)
self.cmd_entry = cmd_entry = tk.Entry(right)