Python Program to Check the File Size

Python Program to Check the File Size


num = int(input("Enter a number: "))   import os  file_stat = os.stat('my_file.txt') print(file_stat.st_size)