I am started writing the pythan program by reading tutorials and requesting experts help. I tried with below code but did not work for me.
If the folder has say FILE1.CBL, FILE2.CBL, FILE4.TXT and FILE3.CBL.
I need the output in the OUTPUT FILE as below
Path = os.getcwd()
count = 0
filenames = glob.glob("*.cbl")
cobolfile = open('outlib.txt', 'w')
raw_input("Press Enter to Exit")
0 · ·