This attribute error appeared when I try to run my code using Gtk and Python. Would anyone know how to solve it? This is my code: import gi gi.require_version('
https://kivymd.readthedocs.io/en/latest/components/bottomnavigation I tried to apply material design 3 in KivyMD project. I ran the example code on the KivyMD
I am doing a textbook problem and I am trying to understand how regex works with Python. In python, I tried doing: "(aa)*|(bb)*" I seem to be accepting any stri
I am trying to call a package and a module but it throws an error. the modules are from DB_Manager* import from Operate_System.OS_Resolution import* but it gen
I am Making a Music discord bot and I have been trying to make it loop and queue songs. But when I try to queue a song it just starts playing it instead of queu
I am trying to figure out how to add row entries of the numeric columns(supply,demand) . I am at a complete loss. My initial thoughts are to do this with a dic
I have the following code to evaluate some configuration values stored in a file: from ast import literal_eval for key, value in dict_read_from_file.items():
I have a df made of values from a dictionary. I can get rid of [], ',' and split it all in different cols (one col per number). But can't make the transfer to f
Let's say I'm writing a lifespan prediction calculator that takes in ~40 inputs: sex = ['Male', 'Female'] smoking_status = [True, False] ... Eventually, there
I have a nested dictionary. How do I access them and get the result as follows: dict_lbl = { "lbl1":{"name":"label1","item1":"Accounts", "item2":"kannagu"
I have model with manytomany field and the task is to make an validation in model layer. When i run this code, this error occurs: ValueError at /admin/main/boss
I ran a series of simulations and want to create a response surface of the performance based off my two parameters, tol and eta. The issue I'm having is actuall
We want to have a distributed transaction publishing between two ActiveMQ brokers. The ActiveMQ documentation states they support XA transactions. Our code base
I am training a sample model with dummy data then i got this error. I have gave everything properly but still i am getting this error: No `configure_optimizers(
[enter image description here][1] [1]: https://i.stack.imgur.com/2wDSL.png NameError! I am following Django tutorial in part 5 when try to run test, getting e
I am trying to list files from a folder. It works with folder name with spaces but doesn't work when folder name contains '#'. I am getting below error office36
/!\ The problem here is a f-string problem; I know how to click the "onclick" element in another ways, but I want to understand why it doesnt work THAT way /!\
I am trying to build a DataFrame using pandas but I am not able to handle the case when I have the variable size of JSON chunks I am getting. eg: 1st chunk: {'a
I have a problem and I don't know how to solve it. There is a code in which I get the result of the found registry (its output) to the terminal. But, I need to
I am new to Django/Python, and am trying to figure out the best way to have global constants in my project that are available to templates in ALL APPS in the pr