17.2. Wait… I’m using Replit

Follow your teachers instructions and modifications for the remaining chapters.

Note

  1. Click on the shell tab to run a file, at the prompt type python filename

    Run a file from the shell tab in replit workspace.
  2. When creating a flask app replace:

    1
    2
    if __name__ == '__main__':
       app.run()
    

    with:

    1
    2
    3
    4
    5
    if __name__ == '__main__':
       app.run(
          host = '0.0.0.0',
          port = 8080
       )