F
F
fleen2020-10-21 21:00:54
Python
fleen, 2020-10-21 21:00:54

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

In general, there is a file in python (main.py) in which the code is: And .js contains Numcap code
phone = input('Введите номер: ')

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 the json there

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question