We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c75ea1 commit 91b2f25Copy full SHA for 91b2f25
file_transfer/send_file.py
@@ -1,8 +1,7 @@
1
import socket
2
3
-def send_file(filename: str = "mytext.txt", testing: bool = False) -> None:
4
-
5
+def send_file(filename: str = "mytext.txt", testing: bool = False) -> None:
6
port = 12312 # Reserve a port for your service.
7
sock = socket.socket() # Create a socket object
8
host = socket.gethostname() # Get local machine name
0 commit comments