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: https://k0nze.gumroad.com
👉 Website Article for this Video: https://k0nze.dev/posts/python-relati...
💌 Support me on Patreon: / k0nze
☕️ Buy me Coffee: https://www.buymeacoffee.com/k0nze
🌍 Check out my Website: https://k0nze.dev
💻 Join our Discord: https://discord.k0nze.dev
👔 Follow me on LinkedIn: https://linkedin.k0nze.dev
Recording Gear
Camera - Sony A6400: https://geni.us/zRw1
Lens - Viltrox AF 23mm f1.4: https://geni.us/RVrguGd
Microphone - Rode Wireless Go: https://geni.us/RBAOIx
Keyboard - Keychron K2 v2: https://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
Watch video Fix Python Relative Imports and Auto-completion in VSCode online without registration, duration hours minute second in high quality. This video was added by user k0nze 17 November 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 68,746 once and liked it 1 thousand people.