Interesting “else” clause in “for” loop in Python.
In this post, we will look at an interesting feature of “for” loop in Python. In Python, we have a special clause known as “else” with for loop. This “else”...
In this post, we will look at an interesting feature of “for” loop in Python. In Python, we have a special clause known as “else” with for loop. This “else”...
In this post, we will look how to use for loop in python and usage of range function. To understand both of these parameters lets have a look at an...
Recently i have faced an issue where i am not able to write anything on my hard disk. This happens when i am playing with dd command on the system....
In this post we will how to declare different type of variables in python. Using Numbers: Integers and float & Strings in Python Lets have a look how to...
In the last post, we have created “hello world” program and executed it from command line using python command. Here we will check usage of shebang sequence followed by the...
I have started learning python and hence preferred to keep the learning track updated here. This is the reason you will see number in the heading. Following numbers sequentially you...
Till now we have seen how to create a python script file and execute it. In this post, we will look how to include comments in the script and how...
Every Linux based Operating system has some standard system variables defined in system files. System files here indicate the program header files and functions exists on our linux system and...
In this post, we will check how to trace a command in Linux or a specific system call used by that command. 1. Tracing a command say “ls -l /etc/hosts”...
Today we will look how to filter lowercase or uppercase letters/words from a file or string in Linux. The easiest way to achieve this task is to use tr command...