943,822 Members | Top Members by Rank

Ad:
  • Python Discussion Thread
  • Unsolved
  • Views: 489
  • Python RSS
Feb 7th, 2009
0

Python modules ..

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
starzstar is offline Offline
19 posts
since Jan 2009
Feb 8th, 2009
0

Re: Python modules ..

Reputation Points: 16
Solved Threads: 3
Newbie Poster
int3grate is offline Offline
11 posts
since Jan 2009
Feb 8th, 2009
0

Re: Python modules ..

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=SOC...ient=firefox-a
Reputation Points: 462
Solved Threads: 392
Senior Poster
evstevemd is offline Offline
3,681 posts
since Jun 2007
Feb 8th, 2009
-1

Re: Python modules ..

Click to Expand / Collapse  Quote originally posted by evstevemd ...
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=SOC...ient=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....
Reputation Points: 16
Solved Threads: 3
Newbie Poster
int3grate is offline Offline
11 posts
since Jan 2009
Feb 8th, 2009
0

Re: Python modules ..

Click to Expand / Collapse  Quote originally posted by starzstar ...
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
Reputation Points: 462
Solved Threads: 392
Senior Poster
evstevemd is offline Offline
3,681 posts
since Jun 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Python Forum Timeline: multi line if statement
Next Thread in Python Forum Timeline: I need help please





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC