Advertisement
outoftime

Untitled

Jan 30th, 2015
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1.         with open('path/to/image', 'rb') as fp:
  2.             response = self.client.post('some-url', {
  3.                 'image': fp
  4.             })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement