Cleanup
This commit is contained in:
parent
e09974fa4b
commit
9b9b9d8841
@ -9,10 +9,10 @@
|
|||||||
```python
|
```python
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
import pastebin
|
import pastebin
|
||||||
api_dev_key = 'CHANGEME'
|
api_key = 'CHANGEME'
|
||||||
api = pastebin.PasteBin(api_dev_key)
|
api = pastebin.PasteBin(api_key)
|
||||||
data = open(__file__).read()
|
data = open(__file__).read()
|
||||||
result = api.paste(data, guest=True, name='Example Script', format='Python', private='1', expire='10M')
|
result = api.paste(data, guest=True, name='Example Script', format='Python', private='1', expire='10M')
|
||||||
print('PasteBin URL: ' + result)
|
print('PasteBin URL: ' + result)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user