connot impert flask into test file : i have running following code for test purpose
my file name is app.py

my code is
 

    from flask import flask
app = flask (_name_)

@app.route("/")
def main():
    return "Welcome!"

if __name__ == "__main__":
    app.run()


when i run this code . it gives error

    Traceback (most recent call last):
  File "C:\Users\Ravi\AppData\Local\Programs\Python\Python36\app.py", line 1, in <module>
    from flask import flask

ImportError: cannot import name 'flask

Any thoughts as to why this is not working?






