Using PyCurl Module in Python Scripts
I was going through the capabilities of Pythonista. My requirement is I want to write iOS apps using python. But my app will use pycurl. Can I install and pycurl module separately in Pythonista?
According to this link - http://omz-software.com/pythonista/docs/ios/index.html
By default Pythonista has some preinstalled modules which are mentioned in the above link right?
Is it at possible to use pycurl using Pythonista?
Pycurl relies on libcurl which appears to be a C library so porting it over to Pythonista might be quite a bit of work.
I would recommend that you look into the Requests module as an alternative (the last line on the web page you mentioned above). Requests - HTTP for Humans has a different syntax than pycurl but I bet that it enables all the same functionality. For example:<pre>import requests
theHTML = requests.get('http://www.python.org').text
</pre>will print the html for the main Python webpage. I have found Requests quite easy to use even for complex use cases.
Thanks @ccc. Its a great help. I'll look into that.