I'm having the following error when I try to run a Flask app:
File "/home/patterson/Documentos/CPFL/cpfl/computer.py", line 12, in <module>
from cpfl.cpfl import sendmail
ImportError: cannot import name 'sendmail'
app = Flask(__name__)
Have you tried
import cpfl and then when you call the method you use