Playback starts YouTube’s embedded player (privacy-enhanced mode).
Python 3 Programming Tutorial - Installing modules
ChannelsentdexDescription from the creator
We still have to teach classes, among a few other necessary basics, but now would be a good time to talk about modules.
IF you are using linux, installing Python modules is incredibly stupid easy. For programming, linux is just lovely when it comes to installing packages for just about whatever. I believe mac allows similar treatment, though I've not done it myself.
When I was first starting out with Python, installing modules was one of the most difficult things, for a few reasons. Mainly, with windows, there are quite a few methods for installation of modules. you've got pip install setuptools, download and click'n'drag, or setup.py
At the time of starting Python, a large part of my troubles was that I didn't actually understand the process of getting a module, and this is obviously very frustrating.
Python is going to look in a few places for modules.
That's going to be site-packages and the script's directory for the most part. There are some other places you can use, but let's leave them out of it. Knowing this allows you yourself to make your own modules, in the form of just a script if you want, putting that in the same directory as your main script, and then using import to bring it on board, you can also place multiple scripts in a dir and use that. Once you begin to familiarize yourself with this, and understand how and why things work, it will help you a lot.
Sample code for this basics series: pythonprogramming.net/beginner-python-programmi…
Python 3 Programming tutorial Playlist: youtube.com/watch?v=oVp1vrfL_w4&feature=sha…
seaofbtc.com
sentdex.com
hkinsley.com
twitter.com/sentdex
Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
About this tutorial
sentdex published this 7:44 video tutorial on October 26, 2014. It has been watched 236,509 times on YouTube.
- Channel
- sentdex
- Category
- Howto & Style
- Duration
- 7:44
- Published
- October 26, 2014
- Views
- 236,509
- Likes
- 1,192
Tags
Share
Further reading
-
Installing Python Modules — Python 3.9.1 documentation
docs.python.org
Key terms¶. pip is the preferred installer program. Starting with Python 3.4, it is included by default with the Python binary installers. A virtual environment is a semi-isolated Python environment that allows packages…
-
Installing Modules Python Tutorial - Python Programming Tutorials
pythonprogramming.net
Installing Modules Python Tutorial Up until this point, you have been able to follow along without actually needing your own installation of Python. In order to follow this tutorial, you're going to need your very own P…
-
Installing, Importing, and Aliasing Modules in Python 3 ...
digitalocean.com
This tutorial will walk you through checking for and installing modules, importing modules, and aliasing modules. Checking For and Installing Modules There are a number of modules that are built into the Python Standard…
This tutorial in other languages
- FRPython 3 Programmation Tutoriel - Installation des modules
- ESPython 3 Programación Tutorial - Instalación de módulos
- PTPython 3 Programação Tutorial - Instalação de módulos
- ITPython 3 Programmazione Tutorial - Installazione dei moduli
- DEPython 3 Programmierung Tutorial - Module installieren
- NLPython 3 Programming Tutorial - modules installeren
- RUPython 3 Программирование Учебник - Установка модулей
- PLPython 3 Programming Tutorial - Instalacja modułów
- JAモジュールのインストール - Pythonの3プログラミングチュートリアル
- ARبيثون 3 البرمجة دروس - تركيب وحدات
- HIअजगर 3 प्रोग्रामिंग ट्यूटोरियल - स्थापित कर रहा है मॉड्यूल
- IDPython 3 Pemrograman Tutorial - modul Instalasi