Numcap js how to pass number to it via python and get output?

  • 0
    In general, there is a python file (main.py) in it code:
    phone = input ('Enter number:')
    And .js contains Numcap code
    var numcap = require('numcap');
    
    var finder = new numcap();
    
    finder.getData("тут номер, переданный из .py" function (err, data) {
        console.log(data);
    });

    I need to pass this variable to a .js file and get the output already in python to process json there
    JavaScript Anonymous, Jun 3, 2020

  • 0 Answers
Your Answer
To place the code, please use CodePen or similar tool. Thanks you!