M
M
maksimkiki2021-01-14 17:25:09
Python
maksimkiki, 2021-01-14 17:25:09

How to make a bot after he sent a photo to telegram, he transferred this photo to another folder?

How to make a bot after he sent a photo to telegram transfer this photo to another folder?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Karbivnichy, 2021-01-14
@maksimkiki

import shutil
shutil.move('C:\\olddir\\image.jpg', 'C:\\newdir\\image.jpg')

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question