
#298 "Unstoppable" Python
Python Bytes
00:00
Using Relative Imports All the Time
Using relative imports all the time is something i picked up not too long ago, but it really isn't talked about much. The idea is that if you do an import, like a import something or from some library, import. If you put a dot in front at the beginning, is the first dot, then it looks in your in your path, your current search the directory of the file at its end. So this is neat. You can do multiple, you can do multiple dots. And actually, the this pep three 28 right up is this little bit about guido's decision where he's talked about the leading dot, or leading two dots. It's a really good,
Transcript
Play full episode