Get File Size in Python

There are many ways available in Python to get a file size.  Using os.path.getsize The os.path.getsize is native python function to get file size. It takes string file path as parameter and returns file size in bytes as int. Using Pathlib Module Pathlib module introduce in python in Python 3.4 version. This is a powerful… Continue reading Get File Size in Python

Published
Categorized as Python

How to learn python | Totorials AND Books

Python is one of the most popular programming languages. It is known for it’s simple syntax that is easy to read and understand. Nowadays craze for this programming language has increased a lot for multipurpose usages for it in data science & data visualization, data mining, multi platform software development, web development and the machine… Continue reading How to learn python | Totorials AND Books

Published
Categorized as Python Tagged