PollyReports was not found? See below.
#**** code start ****
import os
import ntpath as path
try:
import sys
#3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
print(sys.version)
except ImportError as error:
# Output expected ImportErrors.
print(error.message)
except Exception as exception:
# Output unexpected Exceptions.
print(exception.message)
#********** this is the error ***************************
try:
from PollyReports import *
#from reportlab.pdfgen.canvas import Canvas
except ImportError as error:
# Output expected ImportErrors.
#No module named 'PollyReports' (????)
print(error)
except Exception as exception:
# Output unexpected Exceptions.
print(exception)
#********************************************************
if os.path.exists(PollyReports): #??
os.path(PollyReports)