Die Suche ergab 6 Treffer
- Dienstag 27. April 2010, 06:03
- Forum: Netzwerkprogrammierung
- Thema: urllib.urlretrieve - hängt Programm auf bei reconnect
- Antworten: 10
- Zugriffe: 2204
- Montag 26. April 2010, 07:29
- Forum: Netzwerkprogrammierung
- Thema: urllib.urlretrieve - hängt Programm auf bei reconnect
- Antworten: 10
- Zugriffe: 2204
- Samstag 24. April 2010, 20:57
- Forum: Netzwerkprogrammierung
- Thema: urllib.urlretrieve - hängt Programm auf bei reconnect
- Antworten: 10
- Zugriffe: 2204
Nein mit urllib2 gehts auch nicht, def download2(url,name): f=urlopen(url) wf=open(name, 'w') size=f.info()['content-length'] count=0.0 while count<float(size): try: data=f.read(5000) count+=5000 wf.write(data) except: break; muss ich jetzt echt auf Sockebene das ganze implementieren? ich meine es i...
- Samstag 24. April 2010, 19:20
- Forum: Netzwerkprogrammierung
- Thema: urllib.urlretrieve - hängt Programm auf bei reconnect
- Antworten: 10
- Zugriffe: 2204
urllib.urlretrieve - hängt Programm auf bei reconnect
hoi, ich habe ein Script was mittels urllib.urlretrieve downloaded. Wenn aber die Verbindung zum Internet währed des Downloades abbricht, dann hängt das Script an der Stelle des urllib.urlretrieve. Gibt es eine Möglichkeit urllib.urlretrieve zu unterbrechen? und warum wird kein Fehler geworfen? try:...
- Sonntag 7. März 2010, 19:44
- Forum: Installation/Konfigurieren
- Thema: Python 2.5 auf fritzbox :'import site' failed;
- Antworten: 2
- Zugriffe: 1827
- Sonntag 7. März 2010, 19:07
- Forum: Installation/Konfigurieren
- Thema: Python 2.5 auf fritzbox :'import site' failed;
- Antworten: 2
- Zugriffe: 1827
Python 2.5 auf fritzbox :'import site' failed;
Hallo, habe python 2.5 für die fritzbox kompiliert und stehe nun vor dem problem, dass es nicht richtig startet. Ich weiss nicht ob es nur nicht richtig konfiguriert sit oder ob beim bauen was schief gelaufen ist. Die Installation ist auf einem USB Stick. dürfte aber keine rolle spielen PYTHONHOME=/...