ItsMyCode
  • How To
  • Python
    • Django
    • Seaborn
  • Git
  • Javascript
  • C#
  • Node.js
  • Sitecore
  • Powershell
  • JavaScript Tutorials
  • Write for Us
ItsMyCode

Coding Simplified

  • How To
  • Python
    • Django
    • Seaborn
  • Git
  • Javascript
  • C#
  • Node.js
  • Sitecore
  • Powershell
  • JavaScript Tutorials
  • Write for Us
541
97
0

Home » os module

Browsing Tag

os module

3 posts
How To Rename A File In Python
  • Python
  • How To
  • 2 minute read

How to Rename a file in Python?

  • November 24, 2021
The os module in Python comes in handy in performing any file operations such as reading a file, writing into a file etc.. The rename() method is used to rename…
View Post
How To Get File Size In Python
  • Python
  • How To
  • 4 minute read

How to Get File Size in Python?

  • November 24, 2021
There are different ways to get file size in Python. We will be using the os module and the pathlib module to check the file size. OS module in Python…
View Post
How To Get File Extension In Python
  • Python
  • How To
  • 2 minute read

How to get file extension in Python?

  • November 24, 2021
In Python, we can extract the file extension using two approaches. Let’s take a look at each of these with examples. Python get file extension using os module splitext() function…
View Post
Trending Topics
  • Attributeerror: Module 'Time' Has No Attribute 'Clock' 1
    [Solved] AttributeError: module ‘time’ has no attribute ‘clock’
    • June 25, 2022
  • Attributeerror: 'Tuple' Object Has No Attribute 'Get' 2
    [Solved] AttributeError: ‘tuple’ object has no attribute ‘get’
    • June 22, 2022
  • Attributeerror: 'Nonetype' Object Has No Attribute 'Get' 3
    [Solved] AttributeError: ‘NoneType’ object has no attribute ‘get’
    • June 22, 2022
Featured Categories
How To
View Posts
Javascript
View Posts
Python
View Posts
  • Privacy Policy
  • Cookie Policy
  • Contact Us
541
97
0
0
ItsMyCode
Copyright © 2022· All Rights Reserved