**************************** test_ixTestC.py Desc File **************************** #by D@CC #on 2023KNov01 test the following from ??? import ???? import sys sys.path.append("/home/pi/Desktop/IX_assets/ix") # prev 2 statements, needed if modules are # in the ...pkg progName="test_ixTestC.py" #Purpose: test from .. import .. #By D@CC on 2023KNov01 #Note: ix_pkg.py is in Desktop/ix # Note that this package library folder # must contain a file named "any.py" # referred to after the "from " word # I suggest using ix_pkg.py # and if current folder is Desktop print("progName:",progName) print("imports modules from pkg:ix_pkg_tiny.py") print(" which is in '/home/pi/Desktop/IX_assets/ix'") print(" not necessary to use ix_pkg.ixTestC()") from ix_pkg_tiny import ixTestC #from ixTestA import ixTestA # if ixTestA.py is NOT in ix_pkg.py # but IS in the current folder a=ixTestC("abc") print("a:",a) ****************************************************** /test_ixTestC.txt