Sinisterly
How to download images using urllib - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Python (https://sinister.ly/Forum-Python)
+--- Thread: How to download images using urllib (/Thread-How-to-download-images-using-urllib)

Pages: 1 2


RE: [Python] How to download images using urllib - Harvey - 04-07-2013

(04-07-2013, 02:57 AM)Greed Wrote:
(04-07-2013, 02:49 AM).py Wrote:
(04-07-2013, 02:01 AM)Greed Wrote:
(04-07-2013, 02:01 AM).py Wrote:
(04-07-2013, 01:59 AM)Greed Wrote: Not sure i just pasted that on my notepad, What can you make with it?

It's a basic text-based game. If you save it as a .py file, you should be able to run it and see what it does. Pretty crappy game if you ask me though. :p

Lol, Can you compile it? I wanna see

Yeah, it compiled and worked for me. It's very unintuitive and pretty poorly done though.

Can you send it to me?

You'll need to install python to run it as a .py. I can't be bothered converting it to a .exe lol. <3


RE: [Python] How to download images using urllib - Redbull - 04-07-2013

This tutorial well help out a lot of other people Smile


RE: [Python] How to download images using urllib - Banadmin - 04-07-2013

This is just awesome. I like how you can name the downloadable file before it's actually saved onto someone's computer!


RE: [Python] How to download images using urllib - Harvey - 04-07-2013

(04-07-2013, 09:01 AM)Blueish Wrote: This is just awesome. I like how you can name the downloadable file before it's actually saved onto someone's computer!

Yeah. Originally, I was looking for a way to use the actual filename (e.g. prettygirl03.jpg) as the downloadable filename. But that takes a lot more effort than you'd expect and I didn't really want to deal with installing modules for this.