kubernetes pod tutorial

kubernetes pod tutorial a pod is basic unit in kubernetes which consist one more docker containers. Containers in a pod share the same IP address. A Pod is a group of one or more...

How To Install Ansible On RHEL 8

How To Install Ansible On RHEL 8 update your rhel system packages with update command yum update -y Install Python On Rhel Basic prerequisite for ansible is python so install python on your rhel...

Python OS Walk Recursive Examples

Python OS Walk Recursive Examples in this blog post i will explain in detail about python OS.walk() method. OS.walk() generate the file names in a directory tree by walking the tree either top-down or...

How To Read File Line By Line In Python

How To Read File Line By Line In Python to read file line by line in python we use python readlines() method. Read File Line By Line In Python Example1: with open(“devops.txt”,”r”) as x:...

How To Read A File In Python

How To Read A File In Python In this example i will show you how to read a file in python step by step. We can read a file in python in different ways....

How To List Only Directories In Python

How To List Only Directories In Python to list only directories in python we use python os module. import os p=os.listdir(r’C:\Users\enaknar\Desktop\pycharm’) for i in p: if os.path.isdir(i): print(i) Here we are using two functions...