Install Python bots for free on hosting

Lord777

Professional
Messages
2,577
Reaction score
1,561
Points
113
And so, straight to the point.

The essence
We go to the site pythonanywhere.com (as a free example, it can be under heavy load, but it gets better soon), register. You can use any mail, even temporary, it is not necessary to confirm it, but various useful notifications come to it.

c2ac6de44b9fe46142504.png


After successful registration, open the side menu, go to files and delete everything from there.

3gSCQnD.jpg

MwWs8vQ.jpg


Next, one at a time, load your bot's files.

t5iSeU3.jpg

8Bu1cK1.jpg

ax3iS69.jpg


After all the files have been downloaded, we proceed to launch the console.

LhW9fyv.jpg

KaOwWKc.jpg


After the "$" icon appears in the console, you can install the libraries that are necessary for your bot, Python is already installed initially. In my case, this is only telegrambotapi.

Code:
pip3 install telegrambotapi --user

We launch the file we need, in my case it is "main.py" in the third python.

Code:
python3 main.py

You will have to restart it about 1-2 times a day, but it will work quite well for a scam.

Done! The bot is running!
 
Top