# Python webserver snippet **Published by:** [Qubyts](https://paragraph.com/@qubyts-blog/) **Published on:** 2022-07-24 **Categories:** snippet, python **URL:** https://paragraph.com/@qubyts-blog/python-webserver-snippet ## Content from flask import Flask from threading import Thread app=Flask("") @app.route("/") def index(): return "Bot is running" Thread(target=app.run,args=("0.0.0.0",8080)).start() ## Publication Information - [Qubyts](https://paragraph.com/@qubyts-blog/): Publication homepage - [All Posts](https://paragraph.com/@qubyts-blog/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@qubyts-blog): Subscribe to updates - [Twitter](https://twitter.com/sebas_garciag): Follow on Twitter ## Optional - [Collect as NFT](https://paragraph.com/@qubyts-blog/python-webserver-snippet): Support the author by collecting this post - [View Collectors](https://paragraph.com/@qubyts-blog/python-webserver-snippet/collectors): See who has collected this post