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/
Xem thêm Bài Viết:
- Đọc ngay hướng dẫn cài twrp Recovery hiệu quả trên thiết bị Android
- Bỏ túi cách thêm IDM vào Chrome tiện lợi không phải ai cũng biết
- Bỏ túi thông tin hướng dẫn sử dụng adb fastboot zenfone 5 flash Asus
- Hướng dẫn cài đặt và sử dụng Adobe Audition 1.5 chi tiết nhất
- Khắc phục lỗi ‘adb’ is not recognized as an internal or external command
19:04 what's that geohash function in the antigravity.py?
Really enjoy the videos. Hey, do you have anything on how to create your own custom packages and then installing?
Very in-depth as always!
კაი კაცი, ოქრო კაცი, კაცური კაცი
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.
can you teach c# or java c#?
Thanks is mandatory to such huge share of python knowledge. I gotta say, you taught me more than my university did. Thanks Corey!
Who's watching it in 2020?
Man you are the best!!!!
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
Wait a minute! At time 21:56 you have the library file, but you never show how to open it!
Hey Corey, how to package and install custom modules using pip??
I loved the "antigravity" at the end!
Always the best
So clear, I just don't like the other python course. Subscribe button has been hit.
Great series. Wish we had similar thing on Scala and Spark.
11:45 for windows user
Thank you so much for this video, you helped me with a problem I thought I couldn't solve
I just say "Thank you "…you made me a better programmer today than yesterday!!.
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.
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?
we lub u corey
You're rock, dude! Thank you for the worth 20 minutes!!! I can finally understand how to operate those libraries and imports!
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…
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?
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.
whats the difference between "from module import *" and JUST "import module", isn't it the same? other than the tracking problem you mentioned.
What about importing external libraries ? why didn't you take about importing them ?
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.
how to change path on linux
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
good info for modules and library
Thanks for the videos.
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!
You are a true teacher. I did not expect that you would show how to do it on Windows as well. Thanks a lot!
you are a hero
Great teacher.
Thanks Corey for perfect video! How did you move to Library content in Sublime Text via link ( time 19:01)?
What a nice video, 100% clear, thank you so much!
Simple and Great!!
One of the best lecture among Python courses. You are really great!
what's the name of the editor that you're using?
Thank you for all your lessons so far, you are excellent at explaining any topic. Best wishes for your life !!
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.
My modules is not found….. WTF
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?
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?
You talk as simple as clean water, just perfect !
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.
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