Why we should not use import *?

Using import * in python programs is considered a bad habit because this way you are polluting your namespace , the import * statement imports all the functions and classes into your own namespace, which may clash with the functions you define or functions of other libraries that you import.

Sizin İçin Seçtik  What is a get only property Swift?

Leave a Reply

Your email address will not be published. Required fields are marked *