I hereby claim:
- I am ecwright3 on github.
- I am eugene_wr (https://keybase.io/eugene_wr) on keybase.
- I have a public key ASAw0rWbRVn97Ko_vEdvKD9LvEPuW25Ct8P1i-8JTcV65Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| import requests | |
| myFile = {'file':open("[file/path.txt]", 'rb')} | |
| r = requests.post("https://file.io", files=myFile) | |
| link = False | |
| if r.json()['status']: | |
| link = r.json()['link'] | |
| print(link) |
| #!/usr/bin/env python | |
| """ | |
| Copyright (c) 2011, Daniel Bugl | |
| All rights reserved. | |
| Redistribution and use in source and binary forms, with or without | |
| modification, are permitted provided that the following conditions are met: | |
| 1. Redistributions of source code must retain the above copyright | |
| notice, this list of conditions and the following disclaimer. | |
| 2. Redistributions in binary form must reproduce the above copyright |