![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Buscar | Temas de Hoy | Marcar Foros Como Leídos |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
#3
|
||||
|
||||
|
Hablando de Python, estoy intentando aprender a programar en este lenguaje. Aquí les dejo uno de mis primeros scripts, descarga todas las tiras de "Raulito el freaki", diviertanse.
Código:
#!/usr/bin/env python import urllib Base = "http://www.telefonica.net/web2/recurrente/tira/tira" urlopener = urllib.URLopener() for i in range(65): Url = Base + str(i) + ".png" print "Bajando el archivo: " + str(Url) try: urlopener.retrieve(Url, "tira" + str(i) + ".png") except: print "No puedo bajar el archivo: " + str(Url) |
| Herramientas | Buscar en Tema |
| Desplegado | |
|
|
Temas Similares
|
||||
| Tema | Autor | Foro | Respuestas | Último mensaje |
| spam al enviar email | seb@ | Internet | 4 | 27-04-2005 07:04:32 |
| Delphi -mail - spam | Paoti | Internet | 3 | 07-07-2004 22:16:55 |
| Programa anti SPAM (Poptray) | Flores | Internet | 0 | 10-06-2004 05:59:56 |
| A por el SPAM | sitrico | Noticias | 0 | 10-03-2004 22:44:30 |
|