Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
My python client
a guest
Oct 15th, 2014
247
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.15 KB
| None
|
0
0
raw
download
clone
embed
print
report
import
socket
s
=
socket
.
socket
(
)
s.
connect
(
(
"127.0.0.1"
,
8820
)
)
s.
send
(
raw_input
(
)
)
data
=
s.
recv
(
1024
)
print
'The server sent: %s'
%
(
data
)
s.
close
(
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
1 hour ago | 12.31 KB
oh-my-posh Script
JSON | 3 hours ago | 2.38 KB
Untitled
3 hours ago | 11.17 KB
Untitled
5 hours ago | 12.86 KB
Untitled
7 hours ago | 14.76 KB
Untitled
9 hours ago | 13.67 KB
Untitled
10 hours ago | 11.84 KB
Untitled
11 hours ago | 17.61 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!