diff options
author | Georg Brandl <georg@python.org> | 2010-12-30 22:11:50 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-12-30 22:11:50 (GMT) |
commit | 856898b3958626d2400e59b53dc134283addc988 (patch) | |
tree | 2018f1418921ad20ef0fce86f9e28df09c3e5567 /Tools/demo/rpythond.py | |
parent | a3fe8e0b9face74e34b938dd657c4048d5f0dadf (diff) | |
download | cpython-856898b3958626d2400e59b53dc134283addc988.zip cpython-856898b3958626d2400e59b53dc134283addc988.tar.gz cpython-856898b3958626d2400e59b53dc134283addc988.tar.bz2 |
Harmonize docstrings. Move redemo from Tools/scripts to Tools/demo. Add a README file to Tools/demo.
Diffstat (limited to 'Tools/demo/rpythond.py')
-rwxr-xr-x | Tools/demo/rpythond.py | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Tools/demo/rpythond.py b/Tools/demo/rpythond.py index fe24b3d..9ffe13a 100755 --- a/Tools/demo/rpythond.py +++ b/Tools/demo/rpythond.py @@ -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 |