Downlod from FTP, pickle
Tommy Nordgren
tommy.nordgren at comhem.se
Thu Jan 17 19:30:47 EST 2008
On 18 jan 2008, at 01.13, SMALLp wrote:
> Hy!
>
> I have a little problem. I have to download file from FTP sp i use
> ftplib. And then i have to pickle.load from that file. I make callback
> function that saves line by line into temporary file and now i cant
> read
> from that file and when i close it i diapers.
>
> Thanks!
> --
> http://mail.python.org/mailman/listinfo/python-list
You need to rewind the temporary file before reading.
-----------------------------------
See the amazing new SF reel: Invasion of the man eating cucumbers from
outer space.
On congratulations for a fantastic parody, the producer replies :
"What parody?"
Tommy Nordgren
tommy.nordgren at comhem.se
More information about the Python-list
mailing list