mirror of
https://github.com/python/cpython.git
synced 2025-08-24 02:35:59 +00:00
Harmonize docstrings. Move redemo from Tools/scripts to Tools/demo. Add a README file to Tools/demo.
This commit is contained in:
parent
a3fe8e0b9f
commit
856898b395
15 changed files with 188 additions and 143 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue