Harmonize docstrings. Move redemo from Tools/scripts to Tools/demo. Add a README file to Tools/demo.

This commit is contained in:
Georg Brandl 2010-12-30 22:11:50 +00:00
parent a3fe8e0b9f
commit 856898b395
15 changed files with 188 additions and 143 deletions

View file

@ -1,9 +1,12 @@
#! /usr/bin/env python3
#!/usr/bin/env python3
# Remote python server.
# Execute Python commands remotely and send output back.
# WARNING: This version has a gaping security hole -- it accepts requests
# from any host on the Internet!
"""
Remote python server.
Execute Python commands remotely and send output back.
WARNING: This version has a gaping security hole -- it accepts requests
from any host on the Internet!
"""
import sys
from socket import socket, AF_INET, SOCK_STREAM