DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python file operation
from pathlib import Path file = Path('my_file.txt') print(file.stat().st_size)
Source by www.programiz.com #
PREVIOUS
NEXT
Tagged:
#python
#file
#operation
ADD COMMENT
Topic
COMMENT
Name
5+8 =
Submit