skip to Main Content

I created my telegram bot, and it’s running successfully, but I need to keep it running till I closed my PC

2

Answers


  1. You have to run it on a server. You can deploy it on Heroku for free (https://www.heroku.com/).

    Login or Signup to reply.
  2. If you want to run it on your own computer (i.e. not on a server such as AWS or Heroku), you could look to daemonize your application. The easiest would be to use python-daemon.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search