Delete extra comments

This commit is contained in:
Andrew Grant committed 2021-05-29 22:07:19 -04:00
1 parent 7281b2aabb
commit a984afef8d
1 file changed
-44
-44
View File
@@ -823,47 +823,3 @@ if __name__ == '__main__':
response = server_request_workload(arguments)
workload = check_workload_response(arguments, response)
if workload: complete_workload(arguments, workload)
# >>> x = 'cutechess-linux'
# >>> y = 'cutechess-windows.exe'
# >>>
# >>>
# >>> with open(x) as fin:
# ...
# ...
# File "<stdin>", line 3
#
# ^
# IndentationError: expected an indented block
# >>>
# >>> import hashlib
# >>>
# >>>
# >>> with open(x) as fin:
# ... content = fin.read().decode('utf-8')
# ... print(hashlib.sha256(content).hexdigest())
# ...
# Traceback (most recent call last):
# File "<stdin>", line 2, in <module>
# File "C:\Python3\lib\encodings\cp1252.py", line 23, in decode
# return codecs.charmap_decode(input,self.errors,decoding_table)[0]
# UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 710: character maps to <undefined>
# >>>
# >>> with open(x, 'rb') as fin:
# ... content = fin.read()
# ... print(hashlib.sha256(content).hexdigest())
# ...
# 929ead50b90f5bd6a912d3cefbc0bbbe75cdc02a88b493100e2a5a5f8b47e012
# >>>
# >>> with
# File "<stdin>", line 1
# with
# ^
# SyntaxError: invalid syntax
# >>>
# >>> with open(y, 'rb') as fin:
# ... content = fin.read()
# ... print(hashlib.sha256(content).hexdigest())
# ...
# 989995590abf19cb88fc23712eef1e61caa3edf5895151f184c7e5b0ca0c97e4