Introduction Imagine you want to get chemical properties of Oxygen. There should be an article about Oxygen on Wikipedia. How about Microsoft corporation ? Who is the CEO ? Where is the headquarter located ? Again, Microsoft is so popular so there must be an article about it on Wikipedia. The good news is that
Introduction I wanted to connect to an MS SQL server database using Python from my Mac laptop. I struggled a bit but eventually I had a working solution. I thought it can be useful so I am sharing it… Steps Make sure you have brew installed on mac. If not, you can get it from
Introduction Have you heard of Yelp before ? Probably yes, it is a crowd sourced review local search service. Today, we are going to demonstrate Yelp’s open API using Python. We are going to implement a simple Python script to search for a business, get its rating, address and phone number. Our script utilizes Yelp
Introduction Buying and selling domain names is fun and can be rewarding at the same time, specially if we manage to generate a unique domain name that could sell for a fortune. Getting rich overnight is not our topic today, however we are going to discuss how can we automate checking domain name availability using
Introduction So you got a text file with duplicates (words, lines, etc) and you want to delete the extra ones ? How can we do that ? This post discusses a couple of methods that can be used to remove duplicates via Unix (or Mac) terminal. Assume we have the following text file… Let us
Introduction In Python, this question can be tricky specially if you come from a C++ background where pass by value and pass by reference is well defined. So what does that mean in Python? This question is repeatedly asked and answered online. My take on that is through the following example… Define 4 data types
What is PIP PIP (stands for PIP Installs Packages) is a command line utility to manage (ex. install, uninstall, etc) Python packages. Depending on which Python version, you may or may not have it installed. Newer versions of Python already ship with PIP. If you do not have it installed, follow the steps below… Check
Introduction In this post, I am going to provide a summary of using quotes in Python. It can be confusing to beginners but it should be easy to grasp by just looking at the following bullet points… Quotes in Python Strings literals in Python must be enclosed with single or double or triple quotes It
Introduction First, keep in mind that null is not part of the Python programming language syntax, though you can find it in other programming languages (ex. Java, JavaScript). In Python syntax, it is None. So what is None ? Do we really need it ? how is it used ? let us discuss that… None
Introduction Adding a signature to Gmail is a trivial task however many people still ask this question. Anyway, the following screenshots can help you find out how to do that easily… Click on settings icon Click on SettingsĀ in the popup menu In General, scroll down to Signature Click to enable signature then type your custom