add example section to the documentation for tips & tricks

This commit is contained in:
Martin Baeuml
2011-09-07 13:04:01 +02:00
parent 7e1416a5ea
commit 3f6ea5c536
2 changed files with 15 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
.. highlight:: python
========
Examples
========
Adding every nth image to label file
------------------------------------
This can be achieved by a combination of ``find`` and ``awk``::
find shot01/ -iname "*.png" | sort | awk 'NR%5==1' | xargs sloth appendfiles shot1.json
+1
View File
@@ -40,6 +40,7 @@ Contents
items
inserters
containers
examples
api/index