Skip to content
This repository has been archived by the owner on Oct 17, 2020. It is now read-only.

Roms1383/python-and-node

Repository files navigation

python-and-node

Demonstrate how to communicate between Python and Node.js

How to test ?

  • Run python caller.py to output the result from rest.js
  • Run node caller.js to output the result from rest.py

About the files ?

  • rest.py and rest.js are bare implementation of API call
  • callable.js and callable.py are the abstraction files to call underlying rest.py and rest.js respectively, expecting function name and parameter
  • caller.js and caller.py are the test files to call underlying callable.py and callable.js respectively, dynamically with parameter

More informations

A more detailed explanation can be found on Medium !

About

Sample code to demonstrate how to communicate between Python and Node.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published