vnp/Action.py

15 lines
241 B
Python

#!/usr/bin/python3
"""Action(s) that should be performed, when valid numbers found"""
try:
from pprint import pprint
except:
pprint = None
def Run(result):
if pprint:
pprint(result)
else:
print(f"*doing something with {result}*")