Tagged Questions
1
vote
1answer
37 views
Flask, html and javascript desktop app
I want to build a desktop application using python, html and javascript. So far i have followed the tuts on flask and have a hello world working example. What should i do now to make it working? how ...
0
votes
0answers
24 views
Tastypie PUT request leads to 400 error
On a PUT request to a Tastypie API, I get a 400 error, with the cryptic explanation:
Invalid data sent.
I am trying to update a time for a Django model. Any ideas about the root of the error?
Here ...
0
votes
1answer
43 views
Get variable and page fragment using Jquery .load() function
I am currently using Jquery's .load() function to insert a page fragment asynchronously. In the URL that I am loading the page fragment from, I also set a Javascript global variable value (in the ...
1
vote
2answers
38 views
GAE - Differentiate between multiple clients with the same ip
atm I am building my own auth system. But today I stumbled over a small problem.
How do I differentiate clients with the same ip ?
I first thought "hey no problem just look at their macip". But HTTP ...
2
votes
3answers
48 views
What would be the best way to pass a list from python to js using bottle?
I am using Bottle as a web server and need to pass a python list to javascript.
When I am doing just {{myList}}, Bottle escapes single quotes for strings in the list and shows them as '
JS, ...
0
votes
1answer
19 views
how to darw the image faster in canvas
I am capturing mobile snapshot(android) through monkeyrunner and with the help of some python script(i.e. for socket connection),i made it to display in an html page.but there is some time delay ...
0
votes
0answers
32 views
Drag and drop files in the drop box and files should be visible in the container
I am totally new in HTML5,css,javascript and ajax.so please help me out in this problem
1.)There is one page in which there is one drop-box in which we can drag and drop files and also there is one ...
0
votes
2answers
43 views
How to Upload files easily to a server using Javascript (for Dummies)
I am absolutely new to programming. I have chosen Django to start, and I am learning through tutorials and pages like this.
What I am trying to do is this:
I have a .txt file in my root folder, and ...
0
votes
1answer
30 views
python's urllib.urlopen for javascript
Is there a module written in javascript that's equivalent to python's urllib? In particular, I want something like:
urllib.urlopen(url, data)
which returns an object that supports a blocking ...
0
votes
2answers
90 views
Drag and drop using HTML5
I am working on HTML5 & I am a newbie in it.
I am working on a program which does the following :
I want to drag & drop files on a button.
User will be able to see all drag dropped ...
0
votes
1answer
36 views
Ajax updating progress real time of system operations
I am writing a web based GUI interface for a large Python script used to plumb a few activities on a server. While the application itself is very light weight, I am using Django to create the web GUI, ...
0
votes
2answers
64 views
Facebook: How to generate fb comments code for each individual posts of my blog
I have a blog which has various posts so I tried to incorporate facebook comments to my posts but it only generates the code for a single url.Suppose I have the post whose url is 'example.com/post1',I ...
2
votes
2answers
46 views
getting javascript form content with python
I am a novice python programmer and I am having troubles finding a tool to help me get a form from a javascript. I have written a small script in python and also have a simple interface done in ...
1
vote
2answers
32 views
Getting error while passing data of DJango list to javascript list
I have a python-Django list:
list_a = ['user_a', 'user_b']
Now i render it to a template with the following code:
extra_context = {
'a': list_a
}
return direct_to_template(request, ...
0
votes
1answer
87 views
How to disable copy/paste from a file preview in plone 4.1?
I have registered javascript under portal_javascript using the answer 1 from How to Disable Copy Paste (Browser)
As stated in the solution ,this will disable selection on the document, but with ...