items={ "fruits": { "summerFruits": { "Mangoes":5, "melo
I have created an application that required to use the place() manager. I tried using pack() and grid() but after many tries and lots of effort it did not work
How do I use a variable that I declared inside a function outside one. Do I have to declare a function first and then use it? Using global doesn't work, so what
I would like help on how to use Scrapy in Python to extract data from the following page https://fincaraiz.com.co/apartamentos/arriendos?ubicacion=cali I need t
For example if I use a for loop like this it doesnt detect the line between the loop as pyhtml and gives out "Invalid Syntax" error. Is there some compatibility
I am using a connector to query some tables in Dynamics 365 Business Central and when I view my dataframe all of my dates are offset by -1 days. I generated a l
I'm currently working on a simple monitoring project. I want to have a dedicated monitoring server that checks several remote instances for cpu, memory and disk
I'm trying to add metrics on external services with aioprometheus in an app built with FastAPI. Here is a simplified example of what I'm trying to achieve. Say
Trying to return the int for shortest path in a graph, using BFS. The idea is to use a q, append into the q as [node,distance] and then when we traverse increas
I've been having an issue migrating to PyQt6 with QAudioOutput and QMediaPlayer where the QMediaPlayer object seems to not work with any QAudioOutput I make. If
For refreshing skills for a new job i have been trying to implement a very simple price publisher + client + mtm_cache. In the code below in publishing.py the c
I am reading a python basics book and there is one function which I don't understand how it works. How is is possible that output looks like pow function even t
Getting The Following Issue In PySpark to perform display()/collect() operation on top of a generated dataframe. The df contains single column & Row (JSON d
I'm a newbie to Tensorflow, I've done many models but today when calling predict I get this error : ValueError: Exception encountered when calling layer "sequen
I am trying to run LABSE for bilingual similarity measurement. I am getting following error: AttributeError: 'tuple' object has no attribute 'pooler_output'
I have a problem reading the code with openpyxl, until yesterday it works, and now it doesn't work anymore, I tried also with a backup copy but I have the same
how could I use this code in python with tensorflow js? it is to occupy it with a model that was trained with the dataset tf.keras.applications.ResNet152(input_
How would I go about creating the foreign key relationships for a very simple friend request database schema in flask sqlalchemy. Both the requester and request
I have some code below, for a given name that matches pattern with 2 lower case letters (such as 'aa'), the valid name can be V-aa or X-aa def verify_helper(val
for example, a.boo method calls b.foo method. In b.foo method, how can I get a's file name (I don't want to pass __file__ to b.foo method)...