0
votes
2answers
25 views

append new criteria to actual search url during paging

I am having hard times to append a new criteria to the existing url say, i have this url after search-submit: /found_items/?state=bla&score=bla and in the result page, i have a paginator, i ...
0
votes
1answer
30 views

Evaluate javascript on a local html file (without browser)

This is part of a project I am working on for work. I want to automate a Sharepoint site, specifically to pull data out of a database that I and my coworkers only have front-end access to. I FINALLY ...
-1
votes
2answers
25 views

Scraping a url ending in .js using python

I am trying get some historical earnings data from a website using python. The url for data ends in .js (which is a javascript link). The problem is if I use urllib.urlopen to read the link, it ...
1
vote
1answer
45 views

Python Index Error List of index out of range

I have a python code which send serial command to a device and get reply from it. def control(command): serialport= serial.Serial ("/dev/ttyAMA0", 9600, timeout=0.5) ...
-3
votes
1answer
28 views

how to load remote javascript into a page

I am having trouble getting a web irc client to load on a page. The client is remote javascript not hosted on my main web server. I am using drupal 7 CMS and can't seem to figure out how to get the ...
1
vote
1answer
38 views

python code from javascript using ajax

I have seen this topic: ajax request to python script where they were trying to do exactly what I need but there is one information missing. $.post('myPythonFile.py',{data}, ...
0
votes
0answers
34 views

Facebook API, login redirect loop

A facebook app I am developing used to login without trouble, but suddenly the login does not work. My code for logging in is: FB.getLoginStatus( function(response) { if (response.status ...
1
vote
1answer
52 views

Drive API: DeadlineExceededException when updating a file

I'm receiving DeadlineExceededException on Google App Engine when updating file via the Drive API (PUT method). I'm playing with the sample Python application ...
1
vote
2answers
60 views

Using the inspect element feature in google chrome to scrape web sites [closed]

I am trying to scrape a web site. The traditional HTML parsing through "urllib2.urlopen" from Python or "htmlTreeParse" in R, fail to get the data from the web page. This is done intentionally by the ...
2
votes
1answer
22 views

Easiest way to wrap a canvas tag + javascript in a Python program?

I'm creating a cross-platform game using cocos2d-javascript and would like to create a PC version that looks native. I understand that with little modification, I can have my cocos2d-javascript ...
1
vote
1answer
41 views

Java Script giving invalid syntax error while trying to set value from django server

i am trying to set value from django server in my javaScript file views.py def convert(input): if isinstance(input, dict): return {convert(key): convert(value) for key, value in input.iteritems()} ...
0
votes
1answer
62 views

How to detect if its Android or iPhone from which a user is visiting my website? [duplicate]

I am building a webservice using Python at back-end and Front end as HTML, JS, Ajax etc. My webservice has a particular need that it has two different kind of response for those visiting using Android ...
0
votes
1answer
32 views

how to break the line in value of input field [duplicate]

I am trying to put some more data into value part of an input. but I want those strings to have line break. <input type="text" value="text break text"/> I want the value to be shown: text ...
0
votes
1answer
30 views

passing javascript to python in GAE

I am planning to run an app in GAE that initializes the Facebook login sequence in Javascript and passes the access token to a Python script to do server-side work. The javascript looks something like ...
-1
votes
1answer
29 views

Copy multiple columns from csv to other and save [closed]

I have a large delimited file, which need to be convertd into multiple delimited files based on column headers. Suppose I have H1, H2, H3, H4, H5, H6 as column headers, I want to extract H2, H6, H4 ...

1 2 3 4 5 114
15 30 50 per page