Python
2
Вклад в тег
# sendPhoto
photo = open('/tmp/photo.png', 'rb')
tb.send_photo(chat_id, photo)
import requests
session = requests.Session()
authorization = session.post('mysite/login', data = {'login':'admin','password':'secret'})