Sending e-mails using Python. Yes, you read it right.

This article is going to revolve around how one can send e-mails through Gmail using Python using the SMTP and e-mail libraries. The methodology is pretty straightforward and easy to follow. So without any further ado, let’s begin!

Before you begin writing the code, you will need to make certain security changes to the Gmail account you intend to use for this little demonstration. All you need to do is go to ‘Manage Your Google Account’ and in there, go to the security settings. …


Disclaimer : Do not make any trading decisions based on the content of this article. This is a purely theoretical venture into prediction of stock prices

It is a well-established fact that it is impossible to predict stock prices and it is futile to even try to. The movement of stocks will always be uncertain. That being said, it is possible to minimize this uncertainty and make contingencies.

When thinking about investing in stocks, the thing that scares investors is the risk and the uncertainty involved with the investment. The feeling of not knowing how the stock might perform terrifies…


I am sure you have heard of the stock market and of various stock exchanges like S&P500, DOW JONES and NSE at some point. If not, let me just quickly run you through it. A stock market is essentially a market place where stocks, derivatives and various other options are traded. Derivatives and other options are beyond the scope of this article and we are only going to be focusing on stocks for now.

People think the stock market is probably the riskiest way to earn money. Well, they are right and wrong. Sure the stock market is risky but…


A lot of people enter artificial intelligence and machine learning, thinking they require a myriad of elaborate packages. Well, I am going to dispel this illusion today as I take you through this Python project of mine where I developed the most comprehensive K-Neighbors A.I. algorithm (or KNN, for short) from scratch using just default libraries (with a little surprise at the end).

Before I take you through my project, I feel I should at least explain what K-Neighbors algorithm is. It is essentially a supervised classification algorithm. It might seem a little complicated but, don’t despair. …


Neural Network and Machine Learning. Now, these are pretty daunting concepts for any beginner in the field of data science. However, today I am going to attempt to allay such apprehensions by using a simple in-built neural network bequeathed to us by the amazing scikit-learn Python library.

People often dive into the deep end straightaway and try designing intricate networks and most of the times, get overwhelmed by the complexity of it all. …

Aaron Menezes

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store