Unable to import and execute modules in jupyter notebook in anaconda in ubuntu

I am learning this course using jupyter notebook in anaconda.I am unable to import and execute modules in anaconda.For example ,how to give arguments while running.In console it is done using python command(eg - python modulename.py arguments).But how to do it in jupyter notebook?Kindly help me with this.Or when I am trying to import a module (module1) in another module (module2),its giving error

Hi @nikki.nikitaagarwal01

To create the modules you need to create a .py Python files instead of .ipython notebook.
Copy the code in the module and create a new .py file and then import it in your current notebook.

Regards
Prateek Bhayia :slight_smile: