Python modules ..

Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jan 2009
Posts: 19
Reputation: starzstar is an unknown quantity at this point 
Solved Threads: 0
starzstar starzstar is offline Offline
Newbie Poster

Python modules ..

 
0
  #1
Feb 7th, 2009
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
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 11
Reputation: int3grate is an unknown quantity at this point 
Solved Threads: 3
int3grate int3grate is offline Offline
Newbie Poster

Re: Python modules ..

 
0
  #2
Feb 8th, 2009
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 1,380
Reputation: evstevemd has a spectacular aura about evstevemd has a spectacular aura about evstevemd has a spectacular aura about 
Solved Threads: 127
evstevemd's Avatar
evstevemd evstevemd is offline Offline
Nearly a Posting Virtuoso

Re: Python modules ..

 
0
  #3
Feb 8th, 2009
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
Atheist: God is man made imagination, he doesn't exist!
Theist: It's okay, can you imagine anything else that doesn't exist?
Junior MD --- Python, C++ and PHP
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 11
Reputation: int3grate is an unknown quantity at this point 
Solved Threads: 3
int3grate int3grate is offline Offline
Newbie Poster

Re: Python modules ..

 
-1
  #4
Feb 8th, 2009
Originally Posted by evstevemd View Post
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....
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 1,380
Reputation: evstevemd has a spectacular aura about evstevemd has a spectacular aura about evstevemd has a spectacular aura about 
Solved Threads: 127
evstevemd's Avatar
evstevemd evstevemd is offline Offline
Nearly a Posting Virtuoso

Re: Python modules ..

 
0
  #5
Feb 8th, 2009
Originally Posted by starzstar View Post
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
Atheist: God is man made imagination, he doesn't exist!
Theist: It's okay, can you imagine anything else that doesn't exist?
Junior MD --- Python, C++ and PHP
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC