DevTechieBuilt-in Context Managers in PythonThis article explores concept of context manager and some of the Python’s built-in context managers. So, let’s begin.Sep 17Sep 17
DevTechiePython — try … finally versus withIn Python, both try . . . finally and with statement can be used for resource management. Let’s explore the differences between them in…Sep 1Sep 1
DevTechieNitty-gritty of “with” statement in PythonThis article lets you delve into the world of Python’s with statement and explore its significance, use cases, and practical applications…Aug 4Aug 4
DevTechieFormatted String — Template ClassYou may be surprised to know that there are many ways to format strings in Python. Before Python 3.6, there were two basic tools for…Jul 30Jul 30
DevTechieRaising Exceptions in PythonThis article explains how to raise an exception explicitly via the code.Jul 17Jul 17
DevTechiePolynomial Regression comparison on Advertising dataProblem Statement: We analyzed simple linear regression in our last article and compared TV and newspaper spend and if we can draw a…Jul 12Jul 12
DevTechieSimple Regression comparison on Advertising dataProblem Statement: Today, we will explore Simple regression and compare the effectiveness or lack there of based on the nature of the data…Jul 11Jul 11
DevTechieNVIDIA Stock Analysis Using MatPlotLib and PandasProblem Statement: We will use NVIDIA stock data downloaded from Kaggle to analyze its stock price by month and year. We will be using…Jul 9Jul 9
DevTechiePython: try … except … else and try … finallyIn Python, exception handling allows you to gracefully handle errors or unexpected situations that might occur during program execution…May 21May 21
DevTechieFormatting string — .format() methodBefore Python 3.6, there were two basic tools for interpolating (mixing) values, variables, and expressions within string literals:May 16May 16