i'm completely new to python and I was just curious as to how i'd create a class named 'File' that would allow the following code to execute:
fname = input()
file = File()
if not file.count(fname):
print("File ", fname, " not present")
else:
for i in range(10):
print(str(i) + " = " + "{0:5.2f}".format(file.get_count(i)) + "% ", end = ' ')
File.countandFile.get_countdo? Are you looking forfnmatchstyle filename matching?