#!/usr/bin/env python3
'''
Creating an entry point for a web application
'''
import web
import webbrowser


def main():
    '''
    Creating an entry point for a web application
    '''
    app = web.create_app()
    url = 'http://127.0.0.1:5000'
    webbrowser.open(url)
    app.run()


if __name__ == "__main__":
    main()
