examples/functions/conditional_loading.py
from __future__ import print_function
import random

print("Start running")

if random.sample([True, False], 1)[0]:
    from mygreet import hello
    hello()
else:
    print('No loading')


print("DONE")