Datei in einem anderen Pfad Python importieren
# importing sys
import sys
# adding Folder_2 to the system path
sys.path.insert(0, '/home/amninder/Desktop/Folder_2')
# importing the add and odd_even
# function
from module1 import odd_even, add
# calling odd_even function
odd_even(5)
# calling add function
print("Addition of two number is :", add(2, 2))
programming lab