import folder from another folder python
sys.path.insert(1, '/path/to/application/app/folder')
import folder from another folder python
sys.path.insert(1, '/path/to/application/app/folder')
import class from another file python
#from your main script
from folder.file import Klasa
#OR
from folder import file
k = file.Klasa()
#OR
import folder.file as myModule
k = myModule.Klasa()
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us