History

moved out old python interface

Paul Brossier committed 13 years ago

Commit b554e411 parent a1da37f42 files · +0 −0Browse files

Showing the changes to python.old/bench-test (1 of 42 files). Show all

Unified · Split

python.old/bench-test+13−0
@@ -0,0 +1,13 @@
1+#! /usr/bin/python
2+
3+from aubio.bench.node import *
4+
5+datapath = '/var/www'
6+respath = '/var/tmp'
7+
8+def my_print(input,output):
9+ cmd = "%s %s %s" % ("time sleep 0.3; echo",input,output)
10+ return runcommand(cmd,debug=0)
11+
12+act_on_results(mkdir,datapath,respath,filter='d')
13+act_on_data(my_print,datapath,respath,suffix='.txt')

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t