Questions tagged python

Explore the latest questions and answers asked by our top developers.

Send a constant from client side to the server side

I have to send a constant ( values for Height and width for a bokeh graph ) to the backend written in python . On button click, these values should be sent to re-calculate the the graph selected using the sent dimensions and return the newly calculated graph that is shown in full screen. I […]

By Destiny
Published
Categorized as angularjs, bokeh, html, python Tagged , , ,

How to load assets into flask angular app

Hi I am trying to run a website using angular and flask. I am really new to flask, and I am having trouble including the assets file into the static folder. This is my main python file app.py: from flask import Flask,render_template app = Flask(__name__) @app.route(‘/’) def hello(): return render_template(‘index.html’) app.run() I have executed the […]

By angelmc
Published
Categorized as angular, flask, python, web Tagged , , ,

Empty FormData when trying to upload a file

I have a web app using Angular as a front end and FastApi on the backend. I need to add a functionality to upload images to the server which I’m struggling with. On the FastApi side of things I have this function and it works fine when testing using SwaggerUI: @app.post("/photos/") async def add_photo(file: UploadFile […]

By pavel
Published
Categorized as angular, fastapi, file-upload, python Tagged , , ,

Want to create a Web Application [closed]

I’m looking to create a Web Application that will be used to populate data within a backend database and present the data in the form of a dashboard and with live updates following changes to data within the app (SPA??) I’m not a developer but want to learn how and this project has given me […]

Check AngularJS checkbox with Selenium

HTML Source here It seems trivial, but after hours of attempts I cannot manage to check this checkbox using Selenium. I am able to select the element no problem, and have even been able to ‘highlight’ (see code snippet below) it by sending Keys.RETURN to the element, but on attempting to click it, nothing happens. […]

By Chris
Published
Categorized as angular, html, python, selenium Tagged , , ,

how to pass input to api from angular forms without formControlName?

I am passing some data from angular to django rest api, Which is as follows first what django need in for api: notice { description: something, classname : in which class notice is provided, students : from dropdown } what I am passing from angular description by formController students by formcontroller now my issue is […]

JavaScript & Django -run the time continuously without refreshing the page

I have developed an Django application where it will take the time based on the timezone and it’s working properly how could I make the time runnining continuously without refreshing the page. Even i have no idea to implement it in js or ajax. If anyknow how could be possible to implement django code with […]

By imran 44
Published
Categorized as ajax, angularjs, django, javascript, python Tagged , , , ,

JavaScript & Django -run the time continuously without refreshing the page (running in the console how to implement with the particular html label)

I have developed an Django application where it will take the time based on the timezone and it’s working properly how could I make the time running continuously without refreshing the page. Even i have no idea to implement it in js or ajax. How could I implement with django code with the js or […]

By imran 44
Published
Categorized as ajax, angularjs, django, javascript, python Tagged , , , ,

How to process real time video through Flask with Angular frontend?

I did real-time video processing work with Tensorflow based model. Now want to implement with flask and angular for deployment purpose. But while using flask along with Angular the real-time processing becomes very slow (around 3 fps). I have tried the following process for this real-time video purpose. Any faster way to solve this issue? […]

By MSI
Published
Categorized as angular, flask, opencv, python, video-processing Tagged , , , ,

How to call a python file in aws sagemaker from angular application?

I have created an angular application that takes an image as input, the image is then passed to a python script that performs a neural style transfer and returns the stylized image. I have created the python file and the angular frontend seperately and I’m stuck on the integration. I am using aws sagemaker to […]

1 2 3 19

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq