Fix Python Relative Imports and Auto-completion in VSCode

Опубликовано: 17 Ноябрь 2021
на канале: k0nze
68,746
1k

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


Смотрите видео Fix Python Relative Imports and Auto-completion in VSCode онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь k0nze 17 Ноябрь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 68,746 раз и оно понравилось 1 тысяч людям.