Skip to content
This repository was archived by the owner on Oct 17, 2020. It is now read-only.
/ python-and-node Public archive

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

Notifications You must be signed in to change notification settings

Roms1383/python-and-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

fefdf05 · Jan 4, 2020

History

5 Commits
Dec 31, 2019
Jan 4, 2020
Dec 31, 2019
Jan 4, 2020
Dec 31, 2019
Dec 31, 2019
Dec 31, 2019
Dec 31, 2019
Dec 31, 2019
Dec 31, 2019
Dec 31, 2019
Dec 31, 2019
Dec 31, 2019

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