How to import Python modules in Jupyter Notebook
YOUR LINK HERE:
http://youtube.com/watch?v=BW_8UAnO9Og
Here is the outline of the whole video- • 0:00 : Create a new folder greet_folder • 0:12 : Open this folder in jupyter notebook • 0:20 : Create new Python notebook in greet_folder, and rename it as greet_module • 0:37 : Type the code • 0:53 : Create one more Python notebook in the same greet_folder, and rename it as greet_main • 1:10 : Type the code to import greet_module module in greet_main • We didn't done anything wrong here but facing Module not found error because the code is written for .py files and we're importing the .ipynb files; so let's make greet_module a .py file by downloading it as a .py file. We don't need internet access for this. • 1:30 : You can download the .ipynb file as .py file in Jupyter Notebook by: • File 》 Download as 》 Python(.py) • 1:39 : Select the greet_folder as the location to save this file (greet_module) • 1:51 : Return to greet_main and run that cell again; now you won't face any errors. • I used hp laptop with windows 8.1 installed and Icecream Screen Recorder for this video. • If you found this video useful please sub to me. • If you still have any queries comment down below ¯ • Cheers!
#############################
