How To Create Your Own Modules In Python (Modularization)

preview_player
Показать описание
Modularizing your code is a pretty easy tool to help clear out your code a bit, and make it much more readable. In this video I show you how to define a few functions, save them in a separate file, and import that file as a module in a separate code, while still being able to access those functions.

To keep the module in ipynb:
Рекомендации по теме
Комментарии
Автор

I'm so used to you're comedic skits that I was surprised when I found this after googling for help. Awesome video. Thanks!

eliorbilow
Автор

Dear Andrew, Your video is a very good guide and you deserve a big thank you. But a word of caution to newbies; whenever you are trying to make these changes either refresh the JN or restart it. Don't forget to save your data first!

subhosmito
Автор

hey you just helped me understand how to create my own modules from a function. life is easy with guys like you. new python guy here

connectingthedots
Автор

Hello. I am a newbie in programming world. I was stuck not being able to create and use modules in Jupyter Notebook. Thanks to you I can jump to other subjects in my studies of Python. Thank you a lot!

ruifonseca
Автор

More than helpful! less than 10 minutes and you made it so clear! thank you so much for sharing

sakuraa
Автор

Something I heard over and over in my programming for engineers class: "I don't understand why it won't work. It worked the other 50 times I copied and pasted it!"

bendalfavero
Автор

You do not know how I've looked for this, thank you so much!!

estefaniatapia
Автор

This is amazing, especially where you stated that the file has to be converted to .py format. Thank you!

josephnnodim
Автор

Cool to see this done in jupyter. I'm a new to python, but have been coding for years, so the concepts are all very familiar. Just learning the python specifics.

pipertripp
Автор

almost spunked when i saw that the goat dotson has programming videos, so eigenvaluable

drover
Автор

Thanks for the video. I wonder why folks can't explain things simply using simple basic code that doesn't involve a simple basic beginner program like passing a couple integer values in and out of a module. Instead everyone puts a very complicated and convoluted code designed for advanced programmers to already recognize. Creating a simple module with just a def that adds a & b then passes it back is so much easier to understand.

SirSteveFury
Автор

thank you so much!! Ive been looking for this for hours and you just solved my problem in a few minutes!!

FaizYah
Автор

Glorious Andrew,

you are the first programming youtuber I have watched and actually learned something.
You sir, may be why I finish this programming project with pride and honor.
_You_ deserve a medal! <o>
Thank you for existing, now have a glorious day you fine fellow!

Sincerely,
an indebted viewer
(hopefully my subscription and like is enough payment)

diankadroz
Автор

This was the easiest way I've seen of doing this! Thank you

sergioramos
Автор

Thanks Man, for the past 1 hour I have been trying to figure this out.

ABHINAB
Автор

Thanks, man. I was looking for this and you explained perfectly and exactly what I was looking for.

nazmulhasannahid
Автор

This video was so helpful and saved a lot of time. Thanks!

richardaversa
Автор

I gave you thumbs up in the first 8 seconds : ) for a nice, sincere start

smoothumut
Автор

Thank you for such an awesome explaining video on Modularization of code

PRASHANTKUMAR-pgvl
Автор

I'm really enjoying the merch you have shown here.

sashacurcic
visit shbcf.ru