websockets Documentation Release 9.0
here’s an echo server: #!/usr/bin/env python import asyncio import websockets async def echo(websocket, path): async for message in websocket: await websocket.send(message) start_server = websockets websockets.serve(echo, "localhost", 8765) asyncio.get_event_loop().run_until_complete(start_server) asyncio.get_event_loop().run_forever() Do you like it? Let’s dive in! CONTENTS 1 websockets Documentation 3 Basic example Here’s a WebSocket server example. It reads a name from the client, sends a greeting, and closes the connection. #!/usr/bin/env python # WS server example import asyncio import websockets0 码力 | 81 页 | 352.88 KB | 1 年前3Jupyter Notebook 6.5.4 Documentation
Overview 109 8 Config file and command line options 113 9 Running a notebook server 139 10 Security in the Jupyter notebook server 147 11 Security in notebook documents 149 12 Distributing Jupyter Extensions address bar starts with http://localhost: or http://127.0.0.1:, it’s your computer acting as the server. Jupyter doesn’t send your data anywhere else—and as it’s open source, other people can check that being honest about this. You can also use Jupyter remotely: your company or university might run the server for you, for instance. If you want to work with sensitive data in those cases, talk to your IT or0 码力 | 191 页 | 1.89 MB | 1 年前3Jupyter Notebook 6.5.1 Documentation
Overview 109 8 Config file and command line options 113 9 Running a notebook server 139 10 Security in the Jupyter notebook server 147 11 Security in notebook documents 149 12 Distributing Jupyter Extensions address bar starts with http://localhost: or http://127.0.0.1:, it’s your computer acting as the server. Jupyter doesn’t send your data anywhere else—and as it’s open source, other people can check that being honest about this. You can also use Jupyter remotely: your company or university might run the server for you, for instance. If you want to work with sensitive data in those cases, talk to your IT or0 码力 | 191 页 | 1.88 MB | 1 年前3Jupyter Notebook 6.5.0 Documentation
Overview 107 8 Config file and command line options 111 9 Running a notebook server 137 10 Security in the Jupyter notebook server 145 11 Security in notebook documents 147 12 Distributing Jupyter Extensions address bar starts with http://localhost: or http://127.0.0.1:, it’s your computer acting as the server. Jupyter doesn’t send your data anywhere else—and as it’s open source, other people can check that being honest about this. You can also use Jupyter remotely: your company or university might run the server for you, for instance. If you want to work with sensitive data in those cases, talk to your IT or0 码力 | 189 页 | 1.88 MB | 1 年前3Jupyter Notebook 6.4.10 Documentation
Overview 105 8 Config file and command line options 109 9 Running a notebook server 129 10 Security in the Jupyter notebook server 137 11 Security in notebook documents 139 12 Distributing Jupyter Extensions address bar starts with http://localhost: or http://127.0.0.1:, it’s your computer acting as the server. Jupyter doesn’t send your data anywhere else—and as it’s open source, other people can check that being honest about this. You can also use Jupyter remotely: your company or university might run the server for you, for instance. If you want to work with sensitive data in those cases, talk to your IT or0 码力 | 181 页 | 1.87 MB | 1 年前3Jupyter Notebook 6.4.11 Documentation
Overview 107 8 Config file and command line options 111 9 Running a notebook server 131 10 Security in the Jupyter notebook server 139 11 Security in notebook documents 141 12 Distributing Jupyter Extensions address bar starts with http://localhost: or http://127.0.0.1:, it’s your computer acting as the server. Jupyter doesn’t send your data anywhere else—and as it’s open source, other people can check that being honest about this. You can also use Jupyter remotely: your company or university might run the server for you, for instance. If you want to work with sensitive data in those cases, talk to your IT or0 码力 | 183 页 | 1.88 MB | 1 年前3Jupyter Notebook 6.4.9 Documentation
Overview 105 8 Config file and command line options 109 9 Running a notebook server 129 10 Security in the Jupyter notebook server 137 11 Security in notebook documents 139 12 Distributing Jupyter Extensions address bar starts with http://localhost: or http://127.0.0.1:, it’s your computer acting as the server. Jupyter doesn’t send your data anywhere else—and as it’s open source, other people can check that being honest about this. You can also use Jupyter remotely: your company or university might run the server for you, for instance. If you want to work with sensitive data in those cases, talk to your IT or0 码力 | 181 页 | 1.87 MB | 1 年前3Jupyter Notebook 6.4.12 Documentation
Overview 107 8 Config file and command line options 111 9 Running a notebook server 133 10 Security in the Jupyter notebook server 141 11 Security in notebook documents 143 12 Distributing Jupyter Extensions address bar starts with http://localhost: or http://127.0.0.1:, it’s your computer acting as the server. Jupyter doesn’t send your data anywhere else—and as it’s open source, other people can check that being honest about this. You can also use Jupyter remotely: your company or university might run the server for you, for instance. If you want to work with sensitive data in those cases, talk to your IT or0 码力 | 185 页 | 1.88 MB | 1 年前3Jupyter Notebook 6.4.6 Documentation
Overview 105 8 Config file and command line options 109 9 Running a notebook server 129 10 Security in the Jupyter notebook server 137 11 Security in notebook documents 139 12 Distributing Jupyter Extensions address bar starts with http://localhost: or http://127.0.0.1:, it’s your computer acting as the server. Jupyter doesn’t send your data anywhere else—and as it’s open source, other people can check that being honest about this. You can also use Jupyter remotely: your company or university might run the server for you, for instance. If you want to work with sensitive data in those cases, talk to your IT or0 码力 | 181 页 | 1.87 MB | 1 年前3Jupyter Notebook 6.5.2 Documentation
Overview 109 8 Config file and command line options 113 9 Running a notebook server 139 10 Security in the Jupyter notebook server 147 11 Security in notebook documents 149 12 Distributing Jupyter Extensions address bar starts with http://localhost: or http://127.0.0.1:, it’s your computer acting as the server. Jupyter doesn’t send your data anywhere else—and as it’s open source, other people can check that being honest about this. You can also use Jupyter remotely: your company or university might run the server for you, for instance. If you want to work with sensitive data in those cases, talk to your IT or0 码力 | 191 页 | 1.88 MB | 1 年前3
共 517 条
- 1
- 2
- 3
- 4
- 5
- 6
- 52