Total Complexity | 0 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | #!/usr/bin/python |
||
2 | # -*- coding: utf-8 -*- |
||
3 | # |
||
4 | # This is an example usage |
||
5 | |||
6 | from pprint import pprint |
||
7 | |||
8 | from saucenao import run_application |
||
9 | |||
10 | if __name__ == '__main__': |
||
11 | results = run_application() |
||
12 | # if argument move_to_categories is set we don't get a return type, else a generator object |
||
13 | if results: |
||
14 | for result in results: |
||
15 | pprint(result) |
||
16 |