Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update examples/bin/dsql scripts to accept Python 3 (#16677)
* Update examples/bin/dsql scripts to accept Python 3 Remove redundant urllib import Translating to Python3: Changing xrange to range Translating to Python3: Changing long to int Translating to Python3: Change urllib2 methods, and fix encoding/decoding issues Remove unnecessary import Add option for Python2 Rename files * Update examples/bin/dsql Co-authored-by: Benedict Jin <[email protected]> * Resolve PR comments Add comment in files indicating updates need to be made in both places Update examples/bin/dsql Co-authored-by: Benedict Jin <[email protected]> * Update error output when using Python 2. Co-authored-by: Abhishek Radhakrishnan <[email protected]> --------- Co-authored-by: Benedict Jin <[email protected]> Co-authored-by: Abhishek Radhakrishnan <[email protected]>
- Loading branch information