Python Tutorial for Beginners 9: Import Modules and Exploring The Standard Library

///Python Tutorial for Beginners 9: Import Modules and Exploring The Standard Library

Python Tutorial for Beginners 9: Import Modules and Exploring The Standard Library

FavoriteLoadingAdd to favorites

In this Python Beginner Tutorial, we will begin learning how to import modules in Python. We will learn how to import modules we have written, as well as modules from the Standard Library. We will also explore sys.path and how imported modules are found. Let’s get started.

The code from this video can be found at:

Watch the full Python Beginner Series here:

✅ Support My Channel Through Patreon:

✅ Become a Channel Member:

✅ One-Time Contribution Through PayPal:

✅ Cryptocurrency Donations:
Bitcoin Wallet – 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet – 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet – MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey’s Public Amazon Wishlist

✅ Equipment I Use and Books I Recommend:

▶️ You Can Find Me On:
My Website –
My Second Channel –
Facebook –
Twitter –
Instagram –

#Python

source

By |2019-07-28T21:31:17+00:00July 28th, 2019|Python Video Tutorials|30 Comments

30 Comments

  1. 지증왕 July 28, 2019 at 9:31 pm - Reply

    This dude talks too much.. wasted my time

  2. Uzoma Obasi July 28, 2019 at 9:31 pm - Reply

    both of my modules share the same directory. However, when i try to import, the import keyword doesn't seem active. What could i be doing wrong?

  3. Camilo Marin Londoño July 28, 2019 at 9:31 pm - Reply

    You talk as simple as clean water, just perfect !

  4. masterbat007 July 28, 2019 at 9:31 pm - Reply

    I can not stop praising this truly amazing videos. So I have decided to contribute monthly on patreon and subscribed for monthly donation. Thank you and keep going. A real time project would give much more insight into python.

  5. Luke Chavhunduka July 28, 2019 at 9:31 pm - Reply

    Dude never stop teaching I am 15 and I am starting my own website now and I used your Chanel whenever I was stuck thanks so much

  6. M3CV1NO July 28, 2019 at 9:31 pm - Reply

    Keep up ^_______^

  7. Sundar Pandey July 28, 2019 at 9:31 pm - Reply

    I wish I could explain like you. Fabulous tutorial. Your explanation is so meticulously planned any beginner can understand.

  8. Science Alkan July 28, 2019 at 9:31 pm - Reply

    When I'm typing python in cmd I get an error that python isn't recognised. Can anyone help how to solve this problem?

  9. O July 28, 2019 at 9:31 pm - Reply

    Thank you for your tutorials.

  10. Anil Gupta July 28, 2019 at 9:31 pm - Reply

    Your tutorials is the best thing happened to me in 2019.

  11. Kanishk Mair July 28, 2019 at 9:31 pm - Reply

    If we import a module containing a class, does it work similarly?

  12. Rishabh Nehra July 28, 2019 at 9:31 pm - Reply

    Great video

  13. DREAM TO SOCCER July 28, 2019 at 9:31 pm - Reply

    sir how can we see the source code of the build in modules of python.

  14. FlareSoul69 July 28, 2019 at 9:31 pm - Reply

    Thank you for the clear explanation on "import" and "from…"!!!

  15. Marko Ticinovic July 28, 2019 at 9:31 pm - Reply

    Which text editor is that?

  16. Oluwaseyi Adebajo July 28, 2019 at 9:31 pm - Reply

    if different files bear same name in different folders, how do you specify the one to import

  17. RedPz July 28, 2019 at 9:31 pm - Reply

    is that pycharm?

  18. kumar abhishek July 28, 2019 at 9:31 pm - Reply

    good way to teach stuffs.thanks

  19. christian harrison July 28, 2019 at 9:31 pm - Reply

    You're one of the little people that use sublime and I love it

  20. Mg July 28, 2019 at 9:31 pm - Reply

    nice !!!

  21. Very nice in-depth tutorial on modules, I've been studying Python for a while and haven't almost no one getting in this particular topic of changing the path variable for module importing. Your work is awesome, cheers from Brazil. (I always like to say where I'm from to give the content maker a grisp of how far his work is getting heh)

  22. Shaz Flicks July 28, 2019 at 9:31 pm - Reply

    I now know the inner deprh the meaning “no module and what to do..”

    normally I pip either 2 or 3 😂 😂- Thanks Corey

  23. Another excellent tutorial, Corey. I can't tell you how much this video series made my life easier. 😀

  24. Davr July 28, 2019 at 9:31 pm - Reply

    Thank you for your video, it cleared up a long-standing problem I had even with me having a newer version of python. <3

  25. Jacob Lim July 28, 2019 at 9:31 pm - Reply

    Finally i understand what is import as
    after months of self study, now i finally know what is "import numpy as np, tensorflow as tf"

  26. Zoddhand July 28, 2019 at 9:31 pm - Reply

    Thanks bruhhhh

  27. Anjo Lazaro July 28, 2019 at 9:31 pm - Reply

    Yooo…I love how you explain. Among all the other tutorials I've been watching, it's in your videos I get to understand Python clearly.

  28. JBHelps July 28, 2019 at 9:31 pm - Reply

    Hey Corey,
    Why do we have to use the import random for the random selection to work. Because I tried it without and I got an error….

  29. Steven Tse July 28, 2019 at 9:31 pm - Reply

    Thankyou Corey, you explain the concept cleanly. btw you did not mention __init__.py, which python should search folder with it when importing modules.

  30. Aakash Verma July 28, 2019 at 9:31 pm - Reply

    Me nowdays in youtube i only search for your videos if i want something related to python , each and every video of urs consist of so much information , its really helpfull , thanks for your efforts ….!!!

Leave A Comment

*