*************************** unpackToList.txt (text) *************************** #by D@CC #on 2024CMar20 #Purpose: read text file into a list & return it #Complete: tested by D@CC #Note: pkgName must be pathed or current folder #marker="#::::::::::textpak=>" #parm1: pkg (pathed) #parm1: module name #returns: list containing the module code This function will be called by FRUM() in IXf The function code can be readily tested by running the code as if it were a program. This is facilitated by __name__ == "__main__". This bloates the size of the module but is the new method that I will use to test functions. The test program asks for a small file.txt but then requests the name of the module to unpack from ../ix/pPkg_py.py. A copy of this function should be placed in the fPkg_py.py pkg. ************************************************* /unpackToList.txt