Why does calling spyder as 'root' on cli execute the spyder '5' version software, while doing the same as a normal 'user' executes spyder '4'? How do I make it
I would like to calculate the percentage of overlap between 2 ranges. for example: I have two lists x and y x ['567.630', '592.927'] y ['593.000', '618.297'] In
I'm trying to get each class names with its corresponding value from each div listing. From this page: https://www.dotproperty.id/en/properties-for-sale/riau-is
i have programmed a little a Kivy/Python-program that opens an image and displays it. But it can cleary be seen, that there is a drop in image quality 2, when c
code working fine on parrot os but showing error on ubuntu def count_down(count): count_min = math.floor(count/60) count_sec = count%60 if count_min<10:
I need to fix this error, I'm not very good with APIs. I am keen to understand how to fix it, since I'm trying to learn Python. The code: @client.command() asyn
import speech_recognition as sr import gtts from playsound import playsound import os r = sr.Recognizer() ACTIVATION_COMMAND = "hey sam" def get_audio():
I've been having this main issue in my code i've been trying to compile. I am trying to make a GUI-based application, utilizing the tkinter and pandas libraries
I have two columns which have delimiters: column1 column2 a,b,c,d e,f,g,h h,i j,k l,m,n o,p,q ... ... I am trying to group them as ae
# GRADED FUNCTION: two_layer_model def two_layer_model(X, Y, layers_dims, learning_rate = 0.0075, num_iterations = 3000, print_cost=False): """ Impleme
The nginx on my Google Linux server is not printing error logs in the file /var/log/nginx/error.log. The content of my /etc/nginx/sites-available/app file is: s
I have implemented a neural network from scratch. I have taken random values as both input and output. When I use a single layer( with sigmoid activation) the n
model = Sequential() model.add(LSTM(100, input_shape = [X_sequence.shape[1], X_sequence.shape[2]])) model.add(Dropout(0.5)) model.add(Dense(1, activation="sigmo
I have attempted to create a function that will look at the current value in the OptionList and run the assigned code depending on its value. Here I have set-up
Why isn't this code working? I'm trying to create a class to quickly create players for my game in pygame. I was trying to create a sprite based on what he did
Random gen() picks a repeated number, the same number as 33, 33, in a list. I want to get a different list from numbers [0.99]. What method should be used to fi
I am trying to test the below function using unit test mocks but i am not able to do it since the return type from request get/post is of type <class 'reques
I have a data frame with a column of text and another column (score) that describes a score for the text and a column (score_label) that provides a label 'b' or
I'm trying to make a discord bot that I can start and stop using tkinter. I have a tkinter button that runs a thread which turns on the bot and since I have a s
I'm trying to use the JIRA Python API to create and update issues on different projects. Currently I'm after timetracking but I've seen other fields that cannot