def functionA(): countries = ["Nigeria", "Uganda", "America", "Chad"] print(countries) name1 = input("choose a country you don't like:") for i in range(3):
I'm trying to produce a figure in Python that will line up the map coastlines from Cartopy with a RGB projection using satellite data (POLDER) that is fixed to
I am creating a booking website for hotels using Django, I used the booking api to get the hotels with its images and location highlights... I sent to the djang
I am trying to build an image steganography application and for the encoding part I have a form with two fields, one for image and one for the message that is t
I am actually trying to scrap a website. In fact I have a table like this below : Table I would like to navigate to the line that contains the word "Maîtr
im working on Simple RNN code with python, i want to use keras but when i run the code it show to me ( tensorflow error ), i uninstall tensorflow then i install
I made two modules in Python. The other one is a sentinel-controlled loop that asks for the data and the other module contains the functions needed for computat
I am having immense difficulty getting opencv-python to install on alpine. I have tried: Installing opencv-python==4.2.0.32 Using ubuntu instead of alpine Direc
im working on a website with flask so im trying to generate an url to see the reports linked to robots , so i have this route : @app.route("/robotReports/<in
I tried to append entry text to a list with a button but after clicking on button the list still being empty. from audioop import add from html import entities
hihi, I just installed Anaconda3, and my script was able to run smoothly using Spyder. But when I call it using batch file, the below error is show: C:\Users\De
I am currently making a py game and python stops working every time, but I'm not sure why. from turtle import Turtle, Screen screen = Screen() screen.setup(600
I made a Tensorflow pipeline for loading numpy arrays (video data shape (40,160,160,3)). However, it stops working after loading the first x batches. The proble
I have this code work fine to optimize multiple variables. def f(params): a, b, c = params return a**2 + b**2 + c**2 initial_guess = [1, 1, 1] result
I have ArcGIS Pro installed, which includes the installed Python packages. I am trying to learn Python and would like to use the ArcPy functions. I have never u
Below is is my output .csv file. Is there a way to show the output in .html template file using python to show it in more visualized way? Date,Text 2021-09-03,"
My Dockerfile FROM python:3.10-alpine LABEL Description="test smtp server" EXPOSE 8025 COPY ./requirements.txt /app/requirements.txt WORKDIR /app RUN python -m
I am trying to cluster the supplied charging power to different vehicles. import numpy as np import matplotlib.pyplot as plt from sklearn.cluster import DBSCAN
I recently started using pyscript and in the tag I have only written a print statement. On the browser the value prints but only for a second and then vanishes
I have a problem with this code. I need to optimize dropout rate and learning rate. My code is reported below but the optimizer = BayesianOptimization() doesn't