Skip to content

Tag: python

Setting integers inside array to a fixed length

I´m trying to generate an array with integers of a fixed length of 6, so that e.g. 1234 is displayed as 001234 and 12345 as 012345. I can get it to work for an integer using: I tried the same method for an array, but it doesn`t seem to work, so how can I convert this method to array entries?

Discord bot wont go online with UptimeRobot

So I’m using python to keep my bot online with UptimeRobot, so I used the following code to keep it online: UptimeRobot says its online but when I go to discord, its not. Can anyone help me Answer Create a Folder named : keep_alive.py then Now Import import keep_alive #don’t forget to import the f…