0
votes
1answer
22 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
26 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 ...
0
votes
1answer
17 views

how load javascript from local computer in pyside qwebview?

my files messi_fan.py barcelona_fan.html jq.js in same directory. messi_fan.py f = open('barcelona_fan.html', 'r') html = f.read() f.close() self.webView = ...
-3
votes
0answers
21 views

HTML Radio Buttons and Python [closed]

I have an HTML form with some javascript. After clicking submit, I want to use python to check which radio button has been selected. If so, do some stuff. I can't figure out how to check if the ...
-6
votes
0answers
44 views

Good language for fast prototyping [closed]

I know this question already asked on SO but i wonder why people recommend python for this task and doesnt mentioned javascript? I think js has much more frameworks for UI(especially in last time for ...
0
votes
2answers
53 views

Python and Django. Remove all js from html

I want to display user typed html (from WYSIWYG). But I have some problems with removing js from html. Here is my view: def bad_view(request): # in real project we got it from user ...
0
votes
2answers
33 views

Javascript+Python: sending array to Python script, returning result to Javascript

I would like to set up a webpage that takes a number of Facebook status updates via the Javascript API and sorts them into an array. Then I'd like to send this array to a Python script, which can ...
0
votes
1answer
36 views

Knockout not behaving correctly in Pyramid

I'm building a webapp using Pyramid, but Knockout is behaving differently. I have a form: <div data-bind="with: $root.itemToAdd" style="display: none;"> <form ...
1
vote
0answers
28 views

dual syntax highlighting in ACE

I'd like to enable syntax highlighting of JS within a python script using the ACE editor. Specifically, I'd like something like this: #python stuff... foo_dict = {} foo = """<script> var foo ...
0
votes
2answers
26 views

How to easily read xls doc on dynamic site?

Programming noobie here. I'm working on a website where users fill out a form and based on their input a given value from a big excel sheet is displayed on the page. I know JS, jQuery, HTML/CSS, and ...
0
votes
1answer
26 views

Python with selenium 2 and firebug extension

I'm not even sure if that is the solution to my problem but here we go. So I'm trying to find a link on a webpage. The thing is the webpage seems to be executing a javascript in order to obtain the ...
0
votes
0answers
21 views

Create unit test to Google Endpoints

I have some Google Endpoints and I want to create unit tests to it, and so on create the tests first to the next Endpoints. My endpoint is developed with Python. What I'm trying to do now is test it ...
27
votes
0answers
536 views

Minimalistic example of IPython kernel javascript bi-directional communication

My goal is to write an interactive variable viewer for IPython, i.e. which allows one to see, say nested dicts/lists as a tree, and drill down (a bit like the console.log in Javascript). I spent a ...
56
votes
6answers
10k views

What blocks Ruby, Python to get Javascript V8 speed?

Are there any Ruby / Python features that are blocking implementation of optimizations (e.g. inline caching) V8 engine has? Python is co-developed by Google guys so it shouldn't be blocked by ...
11
votes
1answer
1k views

Commenting JavaScript functions á la Python Docstrings

It is valid JavaScript to write something like this: function example(x) { "Here is a short doc what I do."; // code of the function } The string actually does nothing. Is there any reason, ...

1 2 3 4 5 113
15 30 50 per page