https://github.com/andrewda/python_node_sockets
https://github.com/andrewda/python_node_sockets
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/andrewda/python_node_sockets
- Owner: andrewda
- Created: 2016-06-08T02:53:06.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-08T03:04:51.000Z (about 10 years ago)
- Last Synced: 2025-02-25T23:43:14.840Z (over 1 year ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# python_node_sockets
## Installation and Running
To install and run this example, make sure you have Node.js v4 and Python v2.7 installed. Then, run the following commands to install python_node_sockets and its dependencies.
```bash
$ git clone https://github.com/andrewda/python_node_sockets
$ cd python_node_sockets
$ npm install
```
Now you should be all ready to go. In two seperate Terminal or Command Prompt instances, run the following:
### Node.js Server
```bash
$ node server.js
```
### Python Client
```bash
$ python client.py
```
When prompted in the server instance, enter a message. The message you entered should appear shortly un the client instance.