accessing local network resources using twisted matrix depending on your network setupyou may need access to files and other resources that you can' reach using the platform' native capabilities in this caseyou need library that makes such access possiblesuch as twisted matrix (library is to provide you with the calls needed to establish connectionno matter what sort of protocol is in use the feature that makes this library so useful is its event-driven nature this means that your application need not get hung up while waiting for the network to respond in additionthe use of an event-driven setup makes asynchronous communication (in which request is sent by one routine and then handled by completely separate routineeasy to implement accessing internet resources using libraries although products such as twisted matrix can handle online communicationgetting dedicated http protocol library is often better option when working with the internet because dedicated library is both faster and more feature complete when you specifically need http or https supportusing library such as httplib (is good idea this library is written in pure python and makes handling http-specific needssuch as setting keep-alive valuerelatively easy ( keep-alive is value that determines how long port stays open waiting for response so that the application doesn' have to continuously re-create the connectionwasting resources and time as result you can use httplib for any internet-specific methodology -it provides full support for both the get and post request methods this library also includes routines for standard internet compression methodssuch as deflate and gzip it also supports level of automation for examplehttplib adds etags back into put requests when resources are already cached