Created a test script for creating pastee docs and moved it to modules folder
This commit is contained in:
16
modules/createPasteee.py
Executable file
16
modules/createPasteee.py
Executable file
@@ -0,0 +1,16 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# @Author: KevinMidboe
|
||||||
|
# @Date: 2017-02-23 21:41:40
|
||||||
|
# @Last Modified by: KevinMidboe
|
||||||
|
# @Last Modified time: 2017-03-05 19:35:10
|
||||||
|
|
||||||
|
from pasteee import Paste
|
||||||
|
|
||||||
|
def createPasteee():
|
||||||
|
paste = Paste('Test pastee', views=10)
|
||||||
|
print(paste)
|
||||||
|
print(paste['raw'])
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
createPasteee()
|
||||||
Reference in New Issue
Block a user