Part 14: GCP: How to create docker container in GCP ?
In GCP, we can create a container for our application and can deploy it in five simple steps. Lets have a look at these steps below. I. Steps involved in...
Lets start with python programming and see how to ping a list of servers from a hosts file. First lets start with program. I. Program import os hostsfile=open("hosts", "r") lines=hostsfile.readlines()...
Today in this post, we will understand how to check ping status of a domain in python programming language. I. Program import os response=os.system("ping -c 2 google.com") if (response ==...
Today in this post, we will look at various variables used in python and how to deal with them. We will understand how to deal with integers, characters, and strings...
Today we will see another data structure that can be defined in Python known as dictionary. As its name suggests, we keep the “key:value” pairs in this datatype. Let us...
In this post, we will look how to code using for/while loop in python alongwith how to mention comments in the python file. I. Comments in Python a. Multiple Line...
Lets have a look what are tuples in python. Tuples are just like arrays, however the information stored in tuple can’t be modified. Lets have a look at below python...
Today we will look how to handle errors in python. Handling errors refers the way how python code will deal when our program face any error. Program ## here we...