add request and hack for python 2-3 path

lock the code, and the little hack for path the difference from version
of python syntax