| | |
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 aliased anydbm app beginner bits calling casino cipher clear command conversion convert coordinates corners count csv cturtle cursor curves def definedlines development dynamic dynamically event events excel feet file float format frange function google handling homework i/o iframe input jaunty keyboard keycontrol lapse line linux list lists loan loop matching mouse multiple newb number numbers obexftp output parsing path prime programming projects py py2exe pygame pymailer pyopengl python random rational raw_input recursion recursive return searchingfile signal string strings tails text time tlapse tooltip tuple type ubuntu unicode url urllib urllib2 valueerror variable voip web-scrape whileloop word wxpython xlwt






