954,541 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Python modules ..

Are there any equivalent classes in python for the for the following
java classes
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.HttpException;
import org.apache.commons.httpclient.contrib.ssl.EasySSLProtocolSocketFactory;
import org.apache.commons.httpclient.methods.GetMethod;
import org.apache.commons.httpclient.protocol.Protocol;

Thanks

starzstar
Newbie Poster
19 posts since Jan 2009
Reputation Points: 10
Solved Threads: 0
 
int3grate
Newbie Poster
11 posts since Jan 2009
Reputation Points: 16
Solved Threads: 3
 

I don't Know what those modules do, but For it sounds to me like you need to take a look at socket module

http://www.google.co.tz/search?q=SOCKET+MODULE&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

evstevemd
Senior Poster
3,713 posts since Jun 2007
Reputation Points: 462
Solved Threads: 392
 

I don't Know what those modules do, but For it sounds to me like you need to take a look at socket module

http://www.google.co.tz/search?q=SOCKET+MODULE&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

Even if you don't know what they do... If you would have spent 3 seconds and read his post, obviously he's trying to interface with the HTTP protocol. Giving him a link to look up how to send raw data across the network using the sockets module is useless....

int3grate
Newbie Poster
11 posts since Jan 2009
Reputation Points: 16
Solved Threads: 3
 
A import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.HttpException; import org.apache.commons.httpclient.contrib.ssl.EasySSLProtocolSocketFactory; import org.apache.commons.httpclient.methods.GetMethod; import org.apache.commons.httpclient.protocol.Protocol; Thanks

You missed my point :(
I knew he was dealing with network protocols but didnt knew WHAT PROTOCOL do those modules support. Seeing the module name, I suggested he would check the sockets module.

Anyway, I don't know the modules and Java in general...so....I would not argue anymore :)

evstevemd
Senior Poster
3,713 posts since Jun 2007
Reputation Points: 462
Solved Threads: 392
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You