Skip to content

How can I scrape all the images from a website?

I have a website where I’d like to get all the images from the website. The website is kind of a dynamic in nature, I tried using google’s Agenty Chrome extension and followed the steps: I Choose one image that I want to extract using CSS selector, this will make the extension select the same othe…

Write to any users desktop in Python

Im new to Python so apologies if this is a basic question. I have successfully created an exe file that writes to my specific desktop directory, but I am struggling to find a way to write to any users desktop directory. The idea being my exe file can be copied onto any user profile and work the same. Here is

How to put random numbers in Pygame

I expected the ball to move and every time it hits the corner change velocity. Answer To make the ball move, you’ve to use a variable for position wich can store floating point coordinates. The position is changed every frame depending on the speed. Finally the ball rectangle has to be updated with the …