Odoo Help

2

1
2 Answers
0
Avatar

Rihene

--Rihene--

1273
| 5 2 9
Tunis, France
--Rihene--


Rihene
2015/08/13 5:07

In Python 2, use urllib2 which comes with the standard library.


import urllib2

response = urllib2.urlopen('http://www.odoo.com/')

html = response.read()

This is the most basic way to use the library, minus any error handling. You can also do more complex stuff such as changing headers. The documentation can be found here.

https://docs.python.org/2/library/urllib2.html

Regards.

0
John
2015/03/27 14:36

did you  make progress on it?

Ask a Question
Writer
Keep Informed
3 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now