1import ssl 2import socket 3#context0 = ssl.SSLContext(16) 4#print(context0) 5 6conn = socket.create_connection(("localhost", 2000)) 7 8import ssl 9# this works with "import ssl" down here, but breaks 10# with "import ssl" at the top of this file. 11context = ssl.SSLContext(16) 12print(context) 13