Oauth2 is an authentication protocol that allows external applications to access user data or act as a user. Here are a few examples to grasp the OAuth concept
In both cases, the application acts as a user and performs the action(Tweeting/Accepting the invite) for them.
When defining a subclass, there are different ways to call the
__init__ method of a parent class. Let’s start with a base class and go through each of these methods.
For this blog, it’s better that you open a
sample.py python file and follow along.
print "Base created"
print ("Child A initlaized")
print ("Child B initlaized")
print ("Child C initlaized")
Do you want to write great code or step up as a developer? Every programmer wants to write perfect code, but due to ever-demanding business needs, hustle culture, we need to make trade-offs. We often don’t get to write that ideal code we dream of. Despite all that, we can ensure that the code we write is reasonably good. Here are three tips that I use that prevent your code from becoming a noodly mess.
Instead of jumping ahead and starting to code, when you see a problem, take a step back, and I said the problem into a chunk…
Let’s say you are watching a youtube video. A youtube video that shows you how to wear a tie. Assuming that you have no prior knowledge of how to tie a tie, do you think you will acquire that skill by watching the video. Nope! I wish I have that kind of magic in me. Unfortunately, we are all humans. There is only one way to do it.
First, you have to buy a tie, if you already don’t own one. Next, you gotta stand in front of the mirror, have the video on by the side. Try to follow…
As a Python developer, our life lives and revolves around the packages we use. For every problem we have, there is a package in Pypy that would lend its helping hand. Out of them, the following are some of the libraries that developers use every day. These packages are so special that it gets mentioned in almost every interview, there is a rich community around each of them
Anytime someone talks about data manipulation or data analytics, Pandas is your way to go. It has a rich set of features that would help you in the Data Science world and…
So you learned python, picked one of the best tutorials online, and aced through it. You loved Python and decided it was the one. But you ended up feeling completely lost when you tried to do your own project. It feels as if you have learned nothing.
You wonder if those hours you have spent on learning the language is utter waste, that you missed something. You are urged to start from the beginning again in hopes of finding something new, only to end up with the same old variables, data structures, and loops.
You switch to other online resources…
With the boom of SaaS, people want to spend more time solving business problems rather than spend their time dealing with technical problems like managing a database.
DBaaS (Database as a service) entered the SaaS ecosystem to solve just that. While you are busy solving business problems, services like HarperDB will take care of managing, scaling, replicating, and optimizing your databases.
HarperDB is a cloud service that exposes your data via an API endpoint, making it language agnostic. It supports all major languages like Python, Java, NodeJS, etc.,
If you have worked with MySQL or Mongo, you will get the…
One of the main motives of WomenTechMakers Chennai is to celebrate women in the industry. Women who pursue tech passionately and inspire others to do so.
When we wanted to write a feature blog of such women in the community The first choice was pretty obvious.
Shiny S U — A professor who is always passionate about teaching converted herself into a mentor of KCG’s programming club to focus only on what she loved doing the most — Learning and Teaching.
She says “I learn things looking forward to teaching it to my students and that motivates me to do…
Whenever you start with any ML algorithm that involves text you should convert the text into a bunch of numbers. This is obvious because ML algorithms usually build a probabilistic model(which is math) and math can deal only with numbers.
The process of converting NLP text into numbers is called vectorization in machine learning.
Vocabulary is the list of all the words you are dealing with. If your dataset can contain 1000 documents then your word vocabulary would be a list of unique words from the document. For a generalized chatbot, your vocabulary will have all the words in the…