| | |
Python modules ..
![]() |
•
•
Join Date: Jan 2009
Posts: 19
Reputation:
Solved Threads: 0
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
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
•
•
Join Date: Jan 2009
Posts: 11
Reputation:
Solved Threads: 3
check out httplib
http://docs.python.org/library/httplib.html
http://docs.python.org/library/httplib.html
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
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
Theist: It's okay, can you imagine anything else that doesn't exist?
Junior MD --- Python, C++ and PHP
•
•
Join Date: Jan 2009
Posts: 11
Reputation:
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=SOC...ient=firefox-a
•
•
•
•
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

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
Theist: It's okay, can you imagine anything else that doesn't exist?
Junior MD --- Python, C++ and PHP
![]() |
Similar Threads
- Starting Python (Python)
- New python 3 modules (Python)
- Python Modules reference (Python)
- Where to place modules? (Python)
- Python 2.4.4, Segmentation fault (Python)
- Python path help 2 (Python)
- more information about python (Python)
- How to prevent statement execution when importing modules? (Python)
Other Threads in the Python Forum
- Previous Thread: multi line if statement
- Next Thread: Search and replace multiple file
| Thread Tools | Search this Thread |
accessdenied advanced apache application argv array beginner book builtin calculator change command converter countpasswordentry csv curved dan08 def dictionary dynamic edit enter event file float format function google homework import inches input jaunty java keyboard lapse library line lines linux list lists loop microphone mouse movingimageswithpygame mysqlquery newb number numbers numeric obexftp output parameters parsing path phonebook plugin prime programming py2exe pygame pyopengl python random recursion redirect remote return reverse scrolledtext session simple skinning software sprite statictext string strings syntax table terminal text textarea threading time tlapse trick tuple tutorial twoup ubuntu unicode unit urllib urllib2 variable voip wordgame wxpython






