Posts

Showing posts with the label installation

Introduction to python(Installation of python,Python libraries,ASCII values,input and output statements)

Image
                                           Installation of python: Python is installed from c:\python27 Path variable has to be set in python file, inorder to run the program. Python features: Python is very supportive for data analytics. It has general public licence (GPL). It is a scripting language. It is an object oriented programming language. It is an open source language. Python libraries: NLP package. PIL(Python Image Library). Math Functions: 1)print() Use:It is used to print a statement or variable. Example: print ("hello world") Output: hello world 2)Data types: int           It includes all integers.eg.5,9,23 etc float           It includes all decimal values.eg. 2.7 ,4.0 etc str           It includes a group of alphabets.eg. hello ,won etc 3) type () Use:It is used to declare the data type. Example: X=3.0 Y=5 Z=X+Y A=hello print (type(X)) print (type(Y)) print (type(A)) Output: Float Int String 4)type conversion: The expression of one data type on other is called