Hello,
I have to download a lot of files. And at the moment i am trying with URLLib.
But sometimes it doesn't download the whole file. It looks like it stops
half way through or something. Is it possible to ask for the file size before
you download, and then test afterwards if the whole file wa
I am not sure what the right syntax is here. So please help me out (started 2
days ago).
I have a list of about 20 files that I want to read line by line into a 2D
list. So the first dimension will be each file, and the second every line in
that file.
I tried to do something like this:
f
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Klaus Alexander
Seistrup
Sent: Wednesday, May 11, 2005 12:14 PM
To: python-list@python.org
Subject: Re: Reading files into a 2D list.
Øyvind Østlund wrote:
> I have a list of about 20 files that I want t
guages and libs like
DirectX lately.
Thanks
ØØ
-Original Message-
From: Larry Bates [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 11, 2005 3:55 PM
To: Oyvind Ostlund
Cc: python-list@python.org
Subject: Re: Reading files into a 2D list.
Few observations.
1) Don't concatenate pa
I am trying to read a file online, and was just testing a bit. This is what I
tried.
--
import sys, httplib
showlines = 6
try:
servername, filename = sys.argv[1:] # cmdline args?
except:
servername, filename = 'noteme.com', '/index.php'
prin