How can i run Optional labs python codes on my machine

How can i use my laptop to run all the codes already there in the optional labs as every time i try to run a code it pops up with error like the one in below

" from plt_logistic_loss import plt_logistic_cost, plt_two_logistic_loss_curves, plt_simple_example
ModuleNotFoundError: No module named ‘plt_logistic_loss’"

Go to File->Open. Now you’ll find all the helper functions in plt_logistic_loss.py. Download the files and put them in the same folder structure.