It is extremely easy to get the size of a file in python.
import os
if os.path.isdir(file_dr):
size = str(get_size(file_dr))
else:
size = str(os.path.getsize(file_dr))
print(size)
It is extremely easy to get the size of a file in python.
import os
if os.path.isdir(file_dr):
size = str(get_size(file_dr))
else:
size = str(os.path.getsize(file_dr))
print(size)
For further actions, you may consider blocking this person and/or reporting abuse
Super Kai (Kazuya Ito) -
A0mineTV -
TheDev -
Super Kai (Kazuya Ito) -
Top comments (0)