F
F
FasePlay2020-12-07 19:55:05
Python
FasePlay, 2020-12-07 19:55:05

How to make a python program run forever?

Created a telegram bot in python. It works fine when running it on a computer, but that's not enough. It is necessary that the bot works properly even when the computer is turned off. How can this be done? What free services are suitable for this?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sanya Hihi Haha, 2020-12-07
@ValarMayar

pythonanywhere

P
phrippy, 2020-12-08
@phrippy

No program will run on a turned off computer. Your captain Evidence
You will have to run it on someone else's computer, of course, not for free.
Or buy a small computer that will work for you 24/7. This solution is attractive because you don't have to pay your uncle every month.
Until your developments bring in money, they can be run on a personal Raspberry Pi. And when there is profit from them, then you can already switch to paid hosting

1
15432, 2020-12-07
@15432

None for free, buy VPS, prices from 30 rubles per month

R
Roman, 2020-12-09
@Frantick

Amazon EC2 - you can drive a year for free

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question