Skip to content

how to get a apis output in python without json

here is api i am trying https://api.apithis.net/host2ip.php?hostname=google.com as you can see unlike json apis it dose not have “” that you can copy as response.json here is my current code if anyone can fix would help alot as im not sure how to use apis without json output thanks Answer Firstly …

Pygame How to check for second press of a key

Hi guys i’m making a game in python using pygame. I have a piece of code that shoots lasers from a ship in a space themed game. Here is the code: Well this piece of code shoots two lasers from the ship, like this. But i don’t want that. I want to make if player presses space once shoot the

OpenCV – Detect points along a curve

I need to detect the points along these curves, in particular I need the position on the image of one of the two points starting from the left: I tried to detect Hough Points like that: But it doesn’t get the right points and I suppose that this is because the points are positioned along the two curves.…