This gist demonstrates how to setup a python project that process a numpy array from C language.
To compile the project, run
make all
To test it, run
make test
This gist demonstrates how to setup a python project that process a numpy array from C language.
To compile the project, run
make all
To test it, run
make test
| #!/usr/bin/env python3 | |
| import socket | |
| import json | |
| HOST, PORT = "localhost", 9527 | |
| data = { | |
| "name": "hello, I am Tom.", | |
| "age": 10, | |
| "info": "sample is simple." | |
| } |