Show DevBest [PYTHON] ShareFast Paste Creator

Brackson

卍卍卍卍卍卍卍卍卍卍卍
Jun 20, 2013
262
46
It's cool and all but the only 'practical' use of this is spamming, lol.
Nonetheless, good job ;P
Thanks. :)

I realize that if someone uses it it will most likely be for spam, but I made it intentionally for websites and scripts (eg. sending a large log file, or if someone wants to do a scheduled task everyday and wants to host the file non-locally).
 

St4nley

Member
Apr 13, 2013
469
76
Nice work of showing that python is a good language. I'm tired of kids yelling c++ and nothing is better. Very nice code work very efficent. Throw some comments in there next time tho so people have an easier time with fucking around with it. 10/10
 

Sway

Ruby and Python are married.
Dec 19, 2010
194
76
Ported to 3.x:
[/URL]

You should try and create a second version using urllib2, for those who do not want to go through the process of setting up the requests module. Something else you should keep in mind is the way your if __name__ is __main__ statement is set up: it is good practice to create a seperate main() function and then calling it in that if statement, as I did in the ported code. Refer to this: for more information about it.

Other than that, it is quite useful. Thanks for this!
 

Heaplink

Developer & Designer
Nov 9, 2011
510
173
Why doesn't it have flags instead of inputs something like
Code:
share paste --public "The name of the paste" --file "Document.md"
 

Users who are viewing this thread

Top