Linux Tips – How to Display the File Contents on Linux This tutorial provides 14 tips to display the file contents on the linux terminal using 14 different commands. They are 1….
5 Linux Tips – How to Create File on Linux Terminal
Linux Tips – File Create in Linux Command Line This linux tutorial provides five different ways to create a file on the terminal using five different commands. They are 1. Create file…
5 Linux Tips About How to Check File Size in Linux
Linux Tips – How to check file size in Linux In this tutorial, you will learn how to check the file size in linux terminal using five different tips with help of…
How to use Input Arguments in Python
In this python tutorial, the following types of input arguments in python are covered (python input statement). They are PYTHON INPUT ARGUMENTS TYPES 1. Assignment Inputs (Static Inputs) I. EXAMPLE OF ASSIGNMENT…
How to use Anonymous Function in Python
ANONYMOUS FUNCTION (or) LAMBDA FUNCTION IV. ANONYMOUS FUNCTION (ganesh.py) 1. SOURCE CODE # anonymous function squ=lambda a: a*a # calling anonymous function k=squ(5) # print the result print(“Square is : “,k) 2….
How to use Function in Python
Python Function TYPES OF FUNCTION 1. Pre-defined function (Built-in function) 2. User defined function INVOKING FUNCTION I. FUNCTION WITH NO ARGUMENTS (test.py) 1. SOURCE CODE # creating a function def info(): print…
How to use Variables in Python – Local vs Global Variables
PYTHON VARIABLES NOTE Syntax and Example SCOPE OF THE VARIABLE 1. LOCAL VARIABLE Calling: I. EXAMPLE OF LOCAL VARIABLE (ganesh.py) 1. SOURCE CODE # defining function def disp(): # defining a local…
Hello World in Python
HELLO WORLD IN PYTHON PROGRAMMING In this tutorial, you will learn step by step examples for creating a hello world python program in windows OS using two ways. They are Using Manual…
Python Introduction for Data Science
PYTHON FEATURES OF PYTHON PYTHON FAMILY WHO USES PYTHON FIRST RELEASE PYTHON RELEASES FILE FORMAT PYTHON FLAVORS S.N IMPLEMENTATION VIRTUAL MACHINE LANGUAGE 1. CPython CPythonVM C Language 2. Jython JVM Java 3….
3 Ways Of Reversing File Contents in Linux / Unix
In this tutorial, you will learn how to reverse the file contents using three tips using linux commands. Different Ways 1. Reversing File Contents using tac command Syntax tac filename Example 2….