Actually, the only difference between import module and from module import something is subjective. You can use any of them and be consistent in your use of it.
These are some of the advantages and disadvantages of both import and from module import:-
What are the pros and cons of the import module in Python:-
It saves you from adding any additional imports you can directly start using another item from the module.
If you will write module.function name in your code this can be tedious and redundant
What are the pros and cons of from module import xyz in Python:-
The Pros of from module import something is as follows:
The Cons of from module import something is as follows: