I've tried to find a comprehensive guide on whether it is best to use import module
or from module import
. I've just started with Python, with the intention for developing web applications with Django and I'm trying to start off with best practices in mind.
Basically, I was hoping if anyone could share their experiences, what preferences other developers have and whats the best way to avoid any gotchas down the road.
Aucun commentaire:
Enregistrer un commentaire