from flask import Flask, escape, request app = Flask(__name__) run_with_ngrok() @app.route('/') def hello(): name = request.args.get("name", "World") ret
I want to create columns in a dataframe (df_joined) that contains as values tupels from a second df (df_tupels). The tupels are (10,50) and (20,60). I tried var
I'm making a real-time application that graphs sensor data in a real-time fashion. The data is saved to a .csv file and graphed using matplotlib in the followin
When I run python manage.py runserver, my django server runs and I can see my webpage, however some of the tailwind doesn't work. When I then stop that server a
How to create a script using python (api code) to download daily data using (for loop) from ERA5, to make a circulation day by day during the year? notice, I ha
I'm using the PYPDF2 lib to extract texts from a PDF but I'm having a problem doing the loop. I'm using the following code and I can extract a string from the f
If I Run This Code: import re mapping = {'gde1': 'a', '4&TW': 'b', 'E#ZB': 'c', 'B0F&': 'd', 'uvRD': 'e', 'M7vr': 'f', 'X$*d': 'g', 'XQ%R': 'h', 'jma+':
import tensorflow as tf tf.__version__ !sudo pip3 install keras from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense, Conv
I'm attempting to extract information from this website. I can't get the text in the three fields marked in the image (in green, blue, and red rectangles) no ma
In this program i set the background color of Label to 6, 61, 81, 1 like this : background_color: 6, 61, 81, 1 canvas.before: Color
I'm trying to read images from an IDS GV-5240CP camera plugged to my laptop via ethernet using Python and OpenCV. This is what I am supposed to get : A 1280x102
TLDR version: How to make JupyterLab Autocomplete case insensitive? I would like to have Visual Studio Code style Intellisesne(prediction and auto complete) in
Is there a way which this code could be improved so that it would run faster? Currently, this task takes between 11 and 12 seconds to run on my virtual environm
my question is why i receive this warning: java.beans.IntrospectionException: Method not found: isNumToSelect java.desktop/java.beans.PropertyDescriptor.<
kinda new in the selenium, I'm trying to reach a "submit" element in a very long xml page. Here is my code: import pip import time import autoit #import seleniu
I am trying to call my python function created. But not getting any output and no resource how to achieve. Code : <!DOCTYPE html> <html> <head>
I'm trying to restart a subprocess if it crashes, but somewhy this loop just doesn't work. I've been wondering if that's even possible? def dont_stop(conv):
Does computeSVD() use map , reduce since it is a predefined function? i couldn't know the code of the function. from pyspark.mllib.linalg import Vectors from py
I want to automate a list that looks like this in python. weights = [x[0],x[1],x[2]] I have written code but it just gives the value of iteration. I want to
I want to install pytorch3d from source with the following command as recommended at Link: git clone https://github.com/facebookresearch/pytorch3d.git cd pytorc