Linked Questions

1 vote
0 answers
152 views

I have a js file with: function hi (){ console.log("Hello world!"); return 'hello'; } And I want to call this function from my python code. I'm using the naked lib, so I run something like this: ...
20 votes
6 answers
40k views

I am scraping a webpage using Selenium webdriver in Python The webpage I am working on, has a form. I am able to fill the form and then I click on the Submit button. It generates an popup window( ...
5 votes
3 answers
14k views

I am looking for a way to call a js function from a python function. I am coming to you because I also need my js function to use DOM, so pyv8 for example is not a solution.. Do you guys have any idea?...
souki's user avatar
  • 1,435
8 votes
1 answer
6k views

I am writing a web scraper for a particular webpage and I am doing this with "urllib2.Request(MyURL)" and "BeautifulSoup" but the problem is that there is a Paging on page in MyURL and the next page ...
1 vote
2 answers
4k views

I created a webpage that has one JavaScript function called foo(z). For the sake of this question, let's assume that all foo(z) does is call console.log(z). Is it possible to run a Python script that ...
0 votes
1 answer
2k views

I want to make a curl to python converter. curl -X POST -H "data1:value1" -H "data2:value2" -d "{"datapart1":"random1","datapart2":"random2&...
0 votes
2 answers
801 views

I have been working Python pandas DF. I usually Load a csv files, but at the same time I have excel files too. I find out pandas is very slow reading Excel files. I have JavaScript code that will ...
mtkilic's user avatar
  • 1,253
0 votes
0 answers
759 views

For example, a js file called x.js (it's very simple just for explanation): function func2(x, y) { return x + y } function func1(x, y) { return func2(x, y) } Now the module name is jstopy: ...
xiang's user avatar
  • 413
0 votes
0 answers
472 views

I am trying to create a scraper in Python which sends json.load requests and pull the required data. The webpage I'm trying to scrape has a search box which passes the json data after encrypting the ...
2 votes
1 answer
319 views

I have implemented an accelerometer Reader in python and I want to execute a function in a javascript file when a new value is read that will: 1 - update the value in a database 2 - broadcast the new ...
0 votes
0 answers
228 views

Can anyone please help me, how to get the hover data by clicking on any point of highchart plots using dash and python. The code and dataset is given below for plotting the highchart bar plot. code ...
0 votes
1 answer
201 views

I've already searched quite a bit but came to now clear conclusion as some projects (pyv8) seem to be dead and I'm not sure if that is suitable at all. The 3rd part lib requires a DOM, eg. a container ...
beginner_'s user avatar
  • 7,652
0 votes
1 answer
140 views

I'm extracting the data from this reseller site for cars, but I can not find a way to iterate over the pages. I usually iterate by altering some index present in the url, but in the url of that site ...
0 votes
0 answers
66 views

I'm working on a project. I have a strings.py which has dicts like below: def bar(self): #do something STRINGS_ENGLISH = { 'title': 'foo' 'function': bar } then I wanna use this string ...
0 votes
0 answers
33 views

I'd like to write a Javascript UI to download my Goodreads' private group's Bookshelf. I have a working Python program with a tkinter interface right now. OLD QUESTION: My primary question is "Is ...