However, it throws exception when I run codes via Python 3.6
----------------------------------------------------------------------------------
req.SetPostData({'param2' : 'test'})
File "request.pyx", line 117, in cefpython_py36.PyRequest.SetPostData (cefpython_py36.cpp:48900)
File "request.pyx", line 140, in cefpython_py36.PyRequest.SetPostData (cefpython_py36.cpp:48733)
AttributeError: module 'urllib' has no attribute 'urlencode'
----------------------------------------------------------------------------------
Whereas, it doesn't throw any exception via Python 2.7
And the post request works fine, too.
But the post data ({param2 : test} in this case) are not passed to request url.
I'm using latest stable release cefpython3 57.0
And OS is centos-release-7-5.1804.1.el7.centos.x86_64
Anyone please help me?
Thank you in advance.
ps. btw I want to know if there is an any proper way to disable two newly appeared messages (from cef v66, I guess):
[0814/081449.254868:ERROR:gpu_process_transport_factory.cc(1017)] Lost UI shared context.
DevTools listening on ws://127.0.0.1:51980/devtools/browser/105617e2-4f22-4e39-92b3-60a267dfc06c