E
erikcw
I'm trying to figure out how to download just the first few lines of a
large (50mb) text file form a server to save bandwidth. Can Python do
this?
Something like the Python equivalent of curl http://url.com/file.xml |
head -c 2048
Thanks!
Erik
large (50mb) text file form a server to save bandwidth. Can Python do
this?
Something like the Python equivalent of curl http://url.com/file.xml |
head -c 2048
Thanks!
Erik