import main_dir_script

main_dir_script.hello_world()

"""
Explanation: Using separate files
When you have a big project, you'll want to organize your code so that it's easy to manage. Instead of one large notebook, or one big standalone .py file, it's often a good idea to create several smaller .py files that you can import in your main file or notebook.
I put a script in the main directory (i.e. the same one as this notebook). You can import it like this:
End of explanation
"""


from main_dir_script import hello_world

hello_world()

"""
Explanation: You can also import specific functions like this:
End of explanation
"""


from scripts import adele

adele.hello()

from scripts.adele import hello

hello()

"""
Explanation: But the result of this may be that you get a very cluttered main directory. In order to prevent this, we can make a separate folder with all the scripts. I've put an example below. (Also look in the actual folder!)
IMPORTANT: there needs to be a file called __init__.py in the scripts folder. Without it, Python doesn't know it can import scripts from there.
End of explanation
"""


