Created
June 15, 2017 05:13
-
-
Save BlackVikingPro/8bc598f48a32d0c4c35460b383926638 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" !- DoIGiveAFuck? ~ By: Willy Fox - @BlackVikingPro -! """ | |
import curses | |
import time | |
if __name__ == "__main__": | |
stdscr = curses.initscr() | |
curses.noecho() | |
curses.cbreak() | |
try: | |
for i in range(10): | |
stdscr.addstr(0, 0, "Attempting To Give A Fuck...") | |
stdscr.addstr(1, 0, "Total progress: [{1:10}] {0}%".format(i * 10, "#" * i)) | |
stdscr.refresh() | |
time.sleep(.5) | |
print "\nUnable To Give A Fuck.. Sorry ¯\_(ツ)_/¯" | |
time.sleep(10) | |
finally: | |
curses.echo() | |
curses.nocbreak() | |
curses.endwin() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment