Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
Ilya_Bykonya
May 27th, 2024
824
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.16 KB
| Source Code
|
0
0
raw
download
clone
embed
print
report
from
websocket
import
create_connection
with
create_connection
(
"ws://localhost:3071/ws/1"
)
as
ws:
ws.
send
(
"Hello, World"
)
print
(
f
'Received: {ws.recv()}'
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
1 hour ago | 9.18 KB
ᴛᴡᴏ ɪɴ ᴏɴᴇ, ᴏʀ ᴏɴᴇ ɪɴ ᴛᴡᴏ.
CSS | 2 hours ago | 4.28 KB
Untitled
3 hours ago | 11.87 KB
Untitled
5 hours ago | 8.83 KB
[IN REVIEW] PS/PM: Grace Edits
7 hours ago | 0.81 KB
Untitled
7 hours ago | 11.06 KB
[IN REVIEW] PS/PM: PM - Post Launch
8 hours ago | 0.72 KB
[IN REVIEW] PS/PM: PM - Launch Checklist
8 hours ago | 0.73 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!