import os
import re

f = open("info.txt", "w")
for i in os.listdir(os.getcwd()): 
    if i.endswith(".jpg") or i.endswith(".JPG"):
        f.write(os.getcwd() + "\\" + i)
        f.write("\n")
        
f.close()
  
d1a2bf76fc1398f43636f2b6d20ca2876cade8c2
<mask token>

<mask token>
for i in os.listdir(os.getcwd()):
    if i.endswith('.jpg') or i.endswith('.JPG'):
        f.write(os.getcwd() + '\\' + i)
        f.write('\n')
f.close()

<mask token>
f = open('info.txt', 'w')
for i in os.listdir(os.getcwd()):
    if i.endswith('.jpg') or i.endswith('.JPG'):
        f.write(os.getcwd() + '\\' + i)
        f.write('\n')
f.close()

import os
import re
f = open('info.txt', 'w')
for i in os.listdir(os.getcwd()):
    if i.endswith('.jpg') or i.endswith('.JPG'):
        f.write(os.getcwd() + '\\' + i)
        f.write('\n')
f.close()

import os
import re

f = open("info.txt", "w")
for i in os.listdir(os.getcwd()): 
    if i.endswith(".jpg") or i.endswith(".JPG"):
        f.write(os.getcwd() + "\\" + i)
        f.write("\n")
        
f.close()
  