title: Unable to run waitress flask app on windows using command line
body: <p>I am trying to run waitress WSGI on windows for a sample flask app but it is not working and getting an error </p>
  
  <pre><code>It had these arguments:
  1. module 'myapp' has no attribute 'create_app'
  </code></pre>
  
  <p>I am using </p>
  
  <pre><code>waitress-serve --port=80 --call  "myapp:create_app"
  </code></pre>
  
  <p>The below are my 2 files in the same directory </p>
  
  <p>myapp.py</p>
  
  <pre><code>from flask import Flask
  app = Flask(__name__)
  
  @app.route('/')
  def hello():
      return "Hello World!"
  
  if __name__=="__main__":
      app.debug = True
      app.run(host='0.0.0.0')
  </code></pre>
  
  <p>create_app.py</p>
  
  <pre><code>from myapp import app
  
  if __name__=='__main__':
      app.run()
  </code></pre>