Hi,i want to access the filename of a any file using python.Ex.
Suppose a folder contain some files Picture1.jpg,picture2.jpg,mypic.jpg..etx i want to make a program which will print all the file name
Picture1.jpg
picture2.jpg
mypic.jpg
of the certain folder.And the folder can have random file name but with .JPG extension.
I wanna chk if the file is .jpg extension????