File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Sound made by Alexander, on http://www.orangefreesounds.com/
21import socket
32import tqdm
43import os
54import sys
65import hashlib
76from hurry .filesize import size
7+ import pyfiglet
88def warn_md5 ():
99 print (f"Warning! MD5s do not match! { sent_hash } /{ new_hash } " )
1010 print ("This means that either the transfer went wrong, or the file " )
@@ -29,16 +29,8 @@ def warn_md5():
2929 if not len (sys .argv ) == 2 :
3030 print ('Usage: download' )
3131if sys .argv [1 ] == 'whomadethis?' :
32- print ("""
33- ___
34- / | ____ _________ ____ __________ _____ ___ ____ ___ ___ _____
35- / /| | / __ \/ ___/ __ \/ __ `/ ___/ __ `/ __ `__ \/ __ `__ \/ _ \/ ___/
36- / ___ | / /_/ / / / /_/ / /_/ / / / /_/ / / / / / / / / / / / __/ /
37- /_/ |_| / .___/_/ \____/\__, /_/ \__,_/_/ /_/ /_/_/ /_/ /_/\___/_/
38- /_/ /____/
39- """ )
32+ print (pyfiglet .figlet_format ("A Programmer" ))
4033 sys .exit ()
41-
4234if sys .argv [1 ] == 'transmit' :
4335 SEP = "<SEP>"
4436 BUFFER_SIZE = 4096
You can’t perform that action at this time.
0 commit comments