Blog

Python Datetime Format Table

The article lists all the codes that you can pass to the python strftime() and strptime() methods.

Posted August 11, 2022 by Rohith ‐ 2 min read

quick-references python datetime blog

Python Datetime and Formatting

In python, it is possible to fetch the current datetime and timestamp using inbuilt libraries like datetime, time and pendulum.

Posted August 9, 2022 by Rohith ‐ 2 min read

Python Function Annotations

Python PEP-3107 introduced the syntax for adding metadata annotations. These annotations are evaluated at compile time and ignore at runtime. These annotations are used by many third party libraries like mypy for static type checks.

Posted August 6, 2022 by  ‐ 1 min read

Python isinstance()

In python isinstance() method is used to check the datatype.

Posted August 6, 2022 by  ‐ 1 min read

TypeError: method() takes 3 arguments 4 were given

If you are beginner in python programming, it might be frustrating to see this type of error - TypeError: instance_method() takes 3 positional arguments but 4 were given.

Posted July 29, 2022 by Rohith ‐ 1 min read

Subscribe For More Content