Python Classroom Series – 19/Sept/2021

Date time

  • The most common module for handling dates and times is datetime Refer Here
  • The datetime module comes with three types that can be used to represent dates, times and timestamps.
  • datetime.date can be used to reprsent any date b/w years 1 and 9999. For any datetime outside this range we have to use more specialized libraries such as atropy library
  • Refer Here for the datetime activities done

Interacting with OS

  • One of the common usecases of python is to write code that interacts with OS and its filesystem.
  • In this we would look at standard library modules such as os,sys,platform and pathlib
  • For
  • Lets try to inspect our current process

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About learningthoughtsadmin