Test & Code - Python Testing & Development
222: Import within a Python package
- Autor: Vários
- Narrador: Vários
- Editor: Podcast
- Duración: 0:12:02
- Mas informaciones
Informações:
Sinopsis
In this episode we're talking about importing part of a package into another part of the same package.We'll look at: `from . import module` and `from .module import something`and also: `import package` to access the external API from with the package.Why would we use `import package` if `from . import api` would work fine? Learn pytestpytest is the number one test framework for Python.Learn the basics super fast with Hello, pytest!Then later you can become a pytest expert with The Complete pytest CourseBoth courses are at courses.pythontest.com

Únete Ahora
- Acceso ilimitado a todo el contenido de la plataforma.
- Más de 30 mil títulos, incluidos audiolibros, podcasts, series y documentales.
- Narración de audiolibros por profesionales, incluidos actores, locutores e incluso los propios autores.
Prueba ahora
Firma sin compromiso. Cancele cuando quiera.