Tagged Questions
1
vote
1answer
43 views
Best way to get word frequency counts for a website? Or part of a website?
Pretty simple, I just looking for a simple means of extracting word frequencies from a given website, or section of a website.
I am also interested in calculating average distance between two given ...
1
vote
1answer
34 views
Save the state of page. Cookie or session?
I have a little web app (which only has 1 page) that allows user to input and select some options. The input texts and selections will be displayed in another div in the form of table. You may want to ...
0
votes
1answer
27 views
javascript: implement something like python's __getattribute__?
Is there a way to implement in javascript the functionality of python's __getattribute__() (or __getattr__())? That is, a method which is called whenever an object is called with method name or ...
1
vote
0answers
10 views
twisted websocket chatserver openid authentication
i have a python chatserver that uses twisted and autobahn websockets for connection.
factory = MessageServerFactory("ws://localhost:9000", debug=debug, debugCodePaths=debug)
factory.protocol = ...
-2
votes
0answers
18 views
How to save a web session with python? [closed]
I have a web application that allows user to select and key in some strings. The selection and the strings will be displayed in another div using javascript. The web application is hosted using ...
-2
votes
0answers
31 views
Developing GUI using HTML with PyQT WebKit [closed]
Is developing GUI in HTML with pyQT is a preferred approach ? My application architecture is given below
Entire GUI is developed using HTML5 and CSS3 (css3 is used for animation stuffs). The main ...
0
votes
1answer
21 views
Accessing fields with Python CGI FieldStorage from a JQuery AJAX call
I have written some JQuery that makes an ajax call to a Python script. I've been successful in passing strings back and forth between them, but I'm getting weird behaviour from the CGI FieldStorage ...
-1
votes
0answers
16 views
Rendering .doc(x) files in the browser with Python [closed]
How do you display a .doc and .docx file in the browser? Do I have to something in the server side? If so, how do I do it in python.
0
votes
1answer
47 views
Developing reporting engine in nodejs
this may be a little clean and green, however I am hoping to report a reporting engine similar to jasperjs on JS.
reporting meaning:
defining reports
built-in "renderers"
entering of chart data in ...
1
vote
0answers
38 views
How can I detect if a page massively uses Javascript with Python, Scrapy and Selenium?
I wrote a Scrapy spider to process Javascript content on webpages with the help of Selenium. However, I realized that this spider is significantly slower than a common Scrapy Crawler.
For this reason ...
0
votes
2answers
55 views
How can I access API data (Python, Requests) in specific cells of my HTML table?
I've searched stackoverflow for hours and still can't find an answer so I would greatly appreciate your help! I'm building a metrics dashboard using an API and am stuck...
I'm using the requests ...
1
vote
1answer
41 views
How to check {{message}} == “sometext” to display certain image
I have been looking into how to implement django to code to check {{message}} == "sometext" for my code. Currently there is an input to type in text on one page which display one another but I am ...
-1
votes
3answers
78 views
Using an alternate Scripting Language to be interpreted by the browser instead of Javascript [closed]
Can a scripting language like Python or Ruby replace Javascript as the browser's interpreted language so that we could be writing .py or .rb files instead of .js for frontend work? If so, would that ...
0
votes
1answer
26 views
How to use pyqt evaluate javascript
I am learning pyqt,use for parse webpage.
Now i want use pyqt evaluate javascript function just like this answer do:
spidermonkey evaluate js function which in remote js file
import urllib2
import ...
0
votes
1answer
37 views
Python urllib2 returns noscript-content
I am trying to get the html-content of several pages with python 2.7.3 and urllib2.
For the most pages, it works fine, but some pages like ...