Posts

My Love

Image
  You are the reason ! I felt... more pain in your eyes  than mine... more love in your warmth palm  on my cheek... more strong by your words through  my closed eyes ! You are the reason... my heart started beating  again ! more stronger than ever !!

Python for Beginners : List_Clarifications_1

Image
 Removing all the occurrences of an element in a List listname.remove(element) - removes an element from the given list. If an element occurs more than once in a list, the first occurrence of that element will be removed.  To remove all the occurrences of an element from the given list, list comprehension technique can be used. By using this technique, all the other elements, except the given element, are moved to the same list.

Python for Beginners : List_Part_4

 Other methods : len(listname) -  returns the number of elements a list has. max(listname) - returns the maximum value from a list. min(listname) - returns the minimum value from a list. listname.count(element) - returns the number of occurrence of an element in a list. listname.index(element) - returns the index (position) of an element. listname.reverse() - reverses the order of elements in a list. listname.sort() - arranges the elements of a list in ascending order. listname.sort(reverse = True) - arranges the elements of a list in descending order.

Python for Beginners : List_Part_3

Image
  Modifying a List: Deleting / Removing elements : 'del' keyword, pop(), remove(element) Adding new elements Updating an existing element   Deletion : using 'del' keyword, an element from a particular position can be deleted. Deletion : using pop( ), the last element from a list can be removed. Deletion : using remove( ), a particular element can be removed Adding new elements : using append( ), a single element or an object can be added to a list at the end. Adding new elements : using insert(index, element), an element can be inserted at a particular position in a list. Updating an existing element : Already existing element can be updated using assignment operator with a new element.

Python for Beginners : List_Part_2

Image
 Accessing elements in a List : Indexing and Slicing The elements in a LIST are separated by commas.  Every element has its own position (known as index) in a LIST.  The first element in the LIST starts at the index value 0 (zero).  To access elements, the corresponding index values are mentioned through indexing or slicing.

Python for Beginners : List_Part_1

Image
In Python, there are four important built-in data types such as List, Set, Tuple and Dictionary.  Lists are used to store more than one elements under a single variable name.  Lists are mutable, means the elements in a List are changeable.  Lists allow duplicate values.  New items will be added at the end of the list.

Exploring Nature - Post _1

Image
Wanna great weekend... To be spent on the lap of the Mother Nature? Choose PERUMUTTAM @ Javvadhu Hills, Thiruvannamalai District. You can have a long hill drive...by giving greeny feast to your eyes... Enjoy your journey with melody in your speakers🎶🎶

வானாய் இரு

Image
முகிலுடைந்து - கொட்டுகிறது பெருமழை... நீ மட்டும் தெளிந்த வானாய் - இரு மனமே! புயலும் ஓர்நாள் - புள்ளியாய் தேயும்... விண் தேயாதே!

Behind our smiles....

There were... Peaky days-with Prickly tears, Thorny paths-but Sturdy steps, Silent fights-and Sleepless nights, Broken minutes-ignited Bloomed moments....

Handling Images in Python

Image
  Image Handling   in Python Pillow is the library available in Python for processing images. Installing Pillow We can easily install Pillow by using pip in command window with the command :                   > pip install pillow Importing Pillow                   from PIL import Image (or)  import PIL Loading and Showing an Image Output

The Lost Indo-Roman Trading Port

Architectural Analysis on Arikamedu

I'm a Pythonist - Swapping in Python

Image
  I Love Programming in Python... It's an Open Source Language, Less Syntax, Lots and lots of Libraries available and has an excellent global community.  Let's start with simple coding in Python. Swapping values in two or more variables is the simplest concept suitable for the beginners. In other programming languages this could be done with the help of temporary variable(s) or arithmetic operations.  Python helps us to swap two objects (in Python everything is considered as an object as it supports object-oriented programming) without using temporary variables or arithmetic operations. Here are the four scenarios in which two simple objects, more than two objects, objects in a List and Tuple objects in a List are swapped very easily. Let's Enjoy Coding in Python!!!!!!!!!!!!

ஞாபகம் வருதே

Image
                                             ஞாபகம் வருதே                  அசைத்த மரக்கிளையின் இலைகள்...                  இசைத்த மழைச்சாரலில்-                  நனைந்து சிலிர்த்த போது...                  மீண்டு வந்தது பள்ளிப் பருவம் 😊

காதல்

Image
                  காதல் நான்- சுவாசிக்க மறக்கும் தருணங்களில்... என்னுள்- ஆக்ஸிஜனாய் நீ❤️