An open API service indexing awesome lists of open source software.

https://github.com/andrewda/python_node_sockets


https://github.com/andrewda/python_node_sockets

Last synced: 8 months ago
JSON representation

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.