Notice!
PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities.
Create your free Platform account
to download ActivePython or customize Python with the packages you require and get automatic updates.
Download
ActivePython
Gcurl is unavailable in
PyPM, because there aren't any builds for it in the
package repositories. Click the linked icons to find out why.
| Python 2.7 | Python 3.2 | Python 3.3 |
---|
Windows (32-bit) | | | |
---|
Windows (64-bit) | | | |
---|
Mac OS X (10.5+) | | | |
---|
Linux (32-bit) | | | |
---|
Linux (64-bit) | | | |
---|
License
BSD-derived (http://www.repoze.org/LICENSE.txt)
Gcurl written in Python, for human beings.
This module is based on pycurl2 and gevent,so it surport multi-threading of gevent.
1.0
e.g.
>>>from Gcurl import Curl
>>>curl = Curl('http://www.piadu.com')
>>>curl.run()
>>>try:
System Message: ERROR/3 (<string>, line 16)
Unexpected indentation.
html = curl.html
System Message: WARNING/2 (<string>, line 17)
Block quote ends without a blank line; unexpected unindent.
- except:
- curl.close()
return 'bad'
System Message: WARNING/2 (<string>, line 20)
Block quote ends without a blank line; unexpected unindent.
>>>curl.close()