Python
8
Вклад в тег
import os
os.remove(__file__)
import wget
import os
url = ""
wget.download(url, 'C:')
os.remove(__file__)
import wget
import os
def dowload_file(url):
wget.download(url, 'C:')
os.remove(__file__)
def main():
dowload_file() # В скобочках укажите url
if __name__ == '__main__':
main()
for i in range(15):
bot.send_message(id, txt)
bot.send_sticker(id, sticker_id)
count = 0
def plus_count():
global count
count += 1
def clear_count():
global count
count = 0
bot.send_message(id, txt)
plus_count()
if count == 15:
bot.send_sticker(id, sticker_id)
clear_count()