Posts

Showing posts from September, 2019
Check to find and count How many vowels from file This is the program, I have practice today... Input: how are you? I'am fine Output: This file contains 9 times use vowels word. Program: for Python 3... a = open("samplefile.txt") #open file... count = 0  for line in a: #picking up each line by line from file...     b = len(line) #calculate each line length then, these length store in another variable...     for i in range(b): #picking up each letter from file in line...         if(line[i]=='a' or line[i]=='e' or line[i]=='o' or line[i]=='i' or line[i]=='u'): #check each letter is vowel or not...             count = count+1 #count how many time use vowels...     print("This file contains %s times use vowels word"%(count)) #print vowel counts...    a.close() #close file... --------------------------- This program is contains few basic logics... python basics file manipulation find stri

Linux terminal tricks

Image
6  Linux terminal awesome tricks... today i am learn 6 linux cool terminal tricks... 1. Cowsay Install cowsay with apt. $ sudo apt-get install cowsay Cowsay is a talking cow that will speak out anything you want it to. $ cowsay "Hi, How are you" _________________ < Hi, How are you > ----------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || Don't like cows ? No problem there are other animals in the cow zoo. To find out how many, use the l option to get a list $ cowsay -l     Cow files in /usr/share/cowsay/cows: apt beavis.zen bong bud-frogs bunny calvin cheese cock cower daemon default dragon dragon-and-cow duck elephant elephant-in-snake eyes flaming-sheep ghostbusters gnu head-in hellokitty kiss kitty koala kosh luke-koala mech-and-cow meow milk moofasa moose mutilated pony pony-smaller ren sheep skeleton snowman sodomized-sheep stegosaurus stimpy suse thr

Introduction

Vig neshvickii       Hi, I'am Vigneshwaran .S pursuing Final Year B.E. Computer Science and Engineering in Mailam Engineering College at Villupuram, I'am starting create and writing blog from today.      I want say about my knowledge, I am an average student in studies but I want to learn things practically that's why go with self learning and I am interested in the Topics, Computer Networks, Web Designing, Software Developing, Hacking and etc.,