Access pickles remotely?

Joonas Paalasmaa joonas at olen.to
Sun Aug 19 14:15:56 EDT 2001


Angel Asencio wrote:
> 
> Greetings:
> 
>   My project team raised the issue of having to download extremly big
> pickle files to run our application. (We develop on PC and Solaris)
> 
>   All of us are in an intranet.  It was suggested to access the same
> pickle
> file remotely since it will be only read from it.
> 
>   I mentioned CORBA and the faces reflected a disagree opinion. Then
> someone
> mentioned the URL library, and looks like people where more happy with
> this.
> 
>   I have not explored the URL library yet, but is there a preffered
> way to
> access pickle files remotely?

First set up a custom pickle server with BaseHTTPServer module that is
visible in intranet.
Then just download the pickles from the server with urllib.
For example with query http://myhost:pickleport/picklename



More information about the Python-list mailing list