Avoiding import loops in Python

Published: 07 November 2021
on channel: mCoding
93,788
4.1k

Fix import errors using these tricks.

Ever run into an error about a partially initialized module likely due to a circular import? Then this Python video is for you!

― mCoding with James Murphy (https://mcoding.io)

Source code: https://github.com/mCodingLLC/VideosS...

SUPPORT ME ⭐
---------------------------------------------------
Patreon:   / mcoding  
Paypal: https://www.paypal.com/donate/?hosted...
Other donations: https://mcoding.io/donate

Top patrons and donors: Jameson, Laura M, Dragos C, Vahnekie, John Martin, Casey G, Pieter G, Krisztian M, Mutual Information, Sigmanificient

BE ACTIVE IN MY COMMUNITY 😄
---------------------------------------------------
Discord:   / discord  
Github: https://github.com/mCodingLLC/
Reddit:   / mcoding  
Facebook:   / james.mcoding  

CHAPTERS
---------------------------------------------------
0:00 Intro
0:26 Call-time dependencies
3:32 Type-hints
5:28 Subpackage init cycle
8:45 True import-time cycles


Watch video Avoiding import loops in Python online without registration, duration hours minute second in high quality. This video was added by user mCoding 07 November 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 93,788 once and liked it 4.1 thousand people.