Рет қаралды 60,185
In this video, you will learn how to properly handle Python relative imports without extending the sys.path. Additionally, you will learn how to enable auto-completion for Python packages in Visual Studio Code.
⏬ Get my FREE Python Cheat Sheets: k0nze.gumroad.com
👉 Website Article for this Video: k0nze.dev/posts/python-relati...
💌 Support me on Patreon: / k0nze
☕️ Buy me Coffee: www.buymeacoffee.com/k0nze
🌍 Check out my Website: k0nze.dev
💻 Join our Discord: discord.k0nze.dev
👔 Follow me on LinkedIn: linkedin.k0nze.dev
Recording Gear
Camera - Sony A6400: geni.us/zRw1
Lens - Viltrox AF 23mm f1.4: geni.us/RVrguGd
Microphone - Rode Wireless Go: geni.us/RBAOIx
Keyboard - Keychron K2 v2: geni.us/DPK87Xn
⏰ Timestamps:
0:00 Intro
0:21 Manually Extending the Python sys.path
2:07 Add relative Python imports in VSCode (extending the PYTHONPATH)
3:05 What is the PYTHONPATH?
4:04 Add own Python Packages to VSCode Auto-completion
5:57 Outro