Remove starred imports

You wouldn’t need to list them. You can just do

import anvil

And then, if you needed an alert, you call

anvil.alert() 

You could even use an alias

import anvil as av

...

av.alert()

Pep8 gives a description of why either of these options is preferred to a wildcard (as do many other articles online).

3 Likes