Python Code Organisation Without Tears by Grant Paton Simpson

Publicado el: 08 octubre 2023
en el canal de: Python New Zealand
335
13

You create a Python script – it runs. You split your code into modules – it still runs (unless you accidentally do circular importing). Python rocks! You organise everything into folders – now you have importing problems and your code stops running :-(. You try random “solutions” from Stack Overflow: add empty init.py files everywhere; swap back and forth between relative and absolute importing; hack sys.path; consider hacking package; read endless “explanations”, many of them out-of-date. Tears. This talk provides simple guidelines that always work. Never be anxious when considering code re-organisation again.


En esta página del sitio puede ver el video en línea Python Code Organisation Without Tears by Grant Paton Simpson de Duración hora minuto segunda en buena calidad , que subió el usuario Python New Zealand 08 octubre 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 335 veces y le gustó 13 a los espectadores. Disfruta viendo!