Star Hype News.

Premium celebrity moments with standout appeal.

general

How to import python file from parent folder?

By Sophia Hammond

I tried to import python file from parent folder but keep getting error. How can i do it ? script is my python file. I am using jupyter notebook. All give error below.

from ... import script
from .. import script
from . import script
5 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy