Skip to content

Converting cURL request to Python

I’m trying to turn this cURL request into a Python code. I want to eventually be able to save this to a CSV file but I need to get connected first. I started with this: The docs say this needs to be in the header: How do I include the API key? how do I save the data once its

Creating a table with nested loops in python

I’m learning abort nested loops and I’ve gotten an assignment to create a function that takes two integer inputs. Then it should create something like in this image. Only problem is that when I use an odd number for columns it doesnt work. It has to be an “advanced nested loop” for the…

Drawing straight line between two points using QPainterPath

I have a scene where I would like to draw a line between two points(mouse press should be the start point and mouse release as the endpoint) using the QPainterpath. Here is a demonstration of how I want it to be. Here is what’s happening with my current code. Below is the code I have tried Answer Every …