| | |
Python modules ..
Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
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
•
•
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
![]() |
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 |
Tag cloud for Python
abrupt ansi anti apache approximation array basic beginner book builtin calculator chmod code converter countpasswordentry curved dan08 dictionaries dictionary dynamic examples excel file filename float format ftp function gui heads homework import inches input java launcher library line lines linux list lists loop mouse mysql mysqlquery number numbers numeric output parsing path phonebook plugin port prime program programming progressbar projects py2exe pygame pyqt pysimplewizard python random recursion recursive redirect scrolledtext server software ssh stamp statictext statistics string strings table terminal text textarea thread threading time tkinter tlapse trick tricks tuple tutorial twoup ubuntu unicode urllib urllib2 variable windows wordgame wxpython






