Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Python
  3. Question
Python

What does `from six.moves import urllib` do in Python?

Asked by Anusha Acharya Apr 3, 2021 13 views 1 answer
Share

About this question

I was working on some code in Python and I came across a package named:

from six.moves import urllib

I cannot find the urllib.py anywhere. I found that there is a file six.py file in the root package and it has class Module_six_moves_urllib(types.ModuleType).

Your answer

1 Answer

More Python discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Python Blogs

Guides, tips and career advice on Python from JanBask experts.