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

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

my-portfolio

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 we

Taiwan: Taking the Alishan mountain railway to see the lake of clouds – BBC Travel Show
Trò chơi truy tìm thủ phạm ăn trộm bánh Marine Boy ❤ ABC ❤
Nguyên lý hoạt động hộp giảm tốc cho băng tải, nhông xích, trục vít



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

Nguồn:https://hdwallpaperslovely.com/

COMMENTS

WORDPRESS: 50
  • comment-avatar

    19:04 what's that geohash function in the antigravity.py?

  • comment-avatar

    Really enjoy the videos. Hey, do you have anything on how to create your own custom packages and then installing?

  • comment-avatar

    Very in-depth as always!

  • comment-avatar

    კაი კაცი, ოქრო კაცი, კაცური კაცი

  • comment-avatar

    For me the basic import function doesn't work, and if I specify a part of a module, it imports the whole thing regardless.

    What program are you using in this video? Maybe the one I use to check my files is old or weird or something.

  • comment-avatar

    can you teach c# or java c#?

  • comment-avatar

    Thanks is mandatory to such huge share of python knowledge. I gotta say, you taught me more than my university did. Thanks Corey!

  • comment-avatar

    Who's watching it in 2020?

  • comment-avatar

    Man you are the best!!!!

  • comment-avatar

    Hi, I'm running Windows 7 and I'm with you all the way until 10:20 where you use nano in your Mac Terminal.
    I see why you need to add the directory to the sys path but idk what to use. Windows terminal is saying that 'nano' is not recognized blahblahblah

    EDIT: OKAY IM DUMB THE ANSWER IS LITERALLY IN 2 MINUTES AND MY DUMBASS DIDN'T WAIT LOL

  • comment-avatar

    Wait a minute! At time 21:56 you have the library file, but you never show how to open it!

  • comment-avatar

    Hey Corey, how to package and install custom modules using pip??

  • comment-avatar

    I loved the "antigravity" at the end!

  • comment-avatar
  • comment-avatar

    So clear, I just don't like the other python course. Subscribe button has been hit.

  • comment-avatar

    Great series. Wish we had similar thing on Scala and Spark.

  • comment-avatar

    11:45 for windows user

  • comment-avatar

    Thank you so much for this video, you helped me with a problem I thought I couldn't solve

  • comment-avatar

    I just say "Thank you "…you made me a better programmer today than yesterday!!.

  • comment-avatar

    Hi Corey. I just love your videos. I am interested in joining your channel. However i am not clear on the advantages the channel might offer. Are there additional/indepth videos ? Thank you in advance.

  • comment-avatar

    I'm able to create the module and use the functions, but Pycharm keeps telling me there is no module with that name. I tried it in VSC, and it can't even run the code I made, it says there is no module with such name. Why does it happen? How can I fix it?

  • comment-avatar

    we lub u corey

  • comment-avatar

    You're rock, dude! Thank you for the worth 20 minutes!!! I can finally understand how to operate those libraries and imports!

  • comment-avatar

    Hello dear, After the code inserted in my pycharm it is giving back me result 'Process finished with exit code 0'. But i'm not watching my desired result here. Can you please solve the issue? i will very glade-full. I'm watching your tutorial series for last several days. Like problem i have not face before. help please…

  • comment-avatar

    im trying to use raw_input but when ive answered to the output in the console, nothing happens when i press enter, so any code after the raw input does not get executed. Pressing enter just adds another line in the console. Anyone has any idea about whats wrong?

  • comment-avatar

    Please increase font size. After all, your py codes occupy less than one-fourth of my cell phone screen. Thanks. I am looking for client and server codes in one folder in your previous videos.

  • comment-avatar

    whats the difference between "from module import *" and JUST "import module", isn't it the same? other than the tracking problem you mentioned.

  • comment-avatar

    What about importing external libraries ? why didn't you take about importing them ?

  • comment-avatar

    Isn't that a perfect example for people complaining about using the terminal. I mean, for this task it was definitely easier than clicking yourself through 5 or 6 gui's.
    I use arch btw.

  • comment-avatar

    how to change path on linux

  • comment-avatar

    Thanks for great lesson on modules Corey,
    Any chance you could make a video on "Setting up a project skeleton and setup.py" its still a big issue for many people I believe
    Greetings

  • comment-avatar

    good info for modules and library

  • comment-avatar

    Thanks for the videos.

  • comment-avatar

    I have re-watched some of your videos multiple times, not because its hard to understand, its because you explained it so well I dont wanna miss any bits of it! You are truly a master programmer and a superb teacher, thanks for helping us to understand what Python really is!

  • comment-avatar

    You are a true teacher. I did not expect that you would show how to do it on Windows as well. Thanks a lot!

  • comment-avatar
  • comment-avatar
  • comment-avatar

    Thanks Corey for perfect video! How did you move to Library content in Sublime Text via link ( time 19:01)?

  • comment-avatar

    What a nice video, 100% clear, thank you so much!

  • comment-avatar
  • comment-avatar

    One of the best lecture among Python courses. You are really great!

  • comment-avatar

    what's the name of the editor that you're using?

  • comment-avatar

    Thank you for all your lessons so far, you are excellent at explaining any topic. Best wishes for your life !!

  • comment-avatar

    Love your tutorial videos! They are well done and the best of all I have found. I see that you show how to import a module from a different folder by changing the environment variable. I would love to see a way that imports without changing the environment variable (so that it works for someone else who downloads your code) if possible.

  • comment-avatar

    My modules is not found….. WTF

  • comment-avatar

    Hello, I am new to this channel and all I know is functions(return statement) and print hello world. Is this tutorial suitable for me?

  • comment-avatar

    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?

  • comment-avatar

    You talk as simple as clean water, just perfect !

  • comment-avatar

    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.

  • comment-avatar

    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

  • DISQUS: 0