Usage of create_app() in the code v/s app = Flask(name) .It could be the python way but i need suggestion
commenting out create_app() causes:
TypeError: DataFrame.resample() got an unexpected keyword argument 'how'
if I use create_app() it doesn't give this error but any print('test',flush=True) doesn't print anything on console .I tried debugger and many forms of print ..but failed . Now i can run this app but i am keen to use repeated prints on console to understand the flow . Is it must of use create_app() function in code .
How can I now print values on console using print Any suggestions ?
Usage of create_app() in the code v/s app = Flask(name) .It could be the python way but i need suggestion commenting out create_app() causes:
TypeError: DataFrame.resample() got an unexpected keyword argument 'how'
if I use create_app() it doesn't give this error but any print('test',flush=True) doesn't print anything on console .I tried debugger and many forms of print ..but failed . Now i can run this app but i am keen to use repeated prints on console to understand the flow . Is it must of use create_app() function in code . How can I now print values on console using print Any suggestions ?