Professional Documents
Culture Documents
Bachelor of Technology
Submitted by
Page 1
ADIKAVI NANNAYA UNIVERSITY: RAJAMAHENDRAVARAM
UNIVERSITY COLLEGE OF ENGINEERING
DEPARTMENT OF
ELECTRONICS AND COMMUNICATION ENGINEERING
CERTIFICATE
This is to certify that this Internship/Course entitled Programming for Everybody (Getting Started with Python)
bonafide work of BANGARI KRISHNA PRASAD Reg.No. 178297603002 submitted in partial
fulfillment of the requirements for the award of Degree of B.Tech (ECE) during the period2017-2021. This
work is carried out in the COURSERA and Department Of Electronics And Communication Engineering
Adikavi Nannaya University.
Page 2
Page 3
About Coursera
Coursera was founded by Daphne Koller and Andrew Ng with a vision of providing life-transforming learning
experiences to anyone, anywhere. Coursera is the global online learning platform that offers access
toonline courses and degrees from world-class universities and companies. It is now a leading online
learning platform for higher education, where 76 million learners from around the world come to learn
essential skills. More than 200 of the world’s top universities and industry educators partner with Coursera
to offer courses, Specializations, certificates, and degree programs.
Thousands of companies trust the company’s enterprise platform Coursera for Business to transform
their talent. Coursera for Government equips government employees and citizens with in-demand skills to
build a competitive workforce. Coursera for Campus empowers any university to offer high-quality, job-
relevant online education to students, alumni, faculty, and staff. Coursera is backed by leading investors,
including Kleiner Perkins, New Enterprise Associates, Learn Capital, and SEEK Group.
Page 4
DECLARATION
I, B. Krishna Prasad Reg. No178297603002, hereby declare that the course report
entitled done by me under the guidance of Mr. VIJAYA DURGA, Department of
Electronics and Communication Engineering, University College of Engineering, Adikavi
Nannaya University is submitted for the partial fulfillment of requirement for the award of
degree, Bachelors of Technology in Electronics and Communication Engineering in the
academic year of 2017-2021.
Page 5
REPORT CONTENT
Introduction of Industry
History of Python
Why Python?
Characteristics of Python
Data Structures in Python
File Handling in Python
Use of Numpy
Use of Matplotlib
Use of Pandas
Use of OpenCV
Conclusion
Introduction of Industry
IQRA Software Technologies is a premier institute which provides IT and software skills
training in Scientific & Engineering field with best quality at lower costs. We are one of the
fastest growing software solution, technical consultancy and knowledge outsourcing
company situated in India with offices at Bangalore, Kanpur and Lucknow.
Mission
IQRA Software is committed to its role in technical training individuals or corporate in areas of
Speech Compression, Image Processing, Control System, Wireless LAN, VHDL, Verilog, MATLAB
(SciLab), DSP TMS320C67xx, Java, Microsoft.Net, Software Quality Testing, SDLC &
Implementation, Project Management, Manual Testing, Silk Test, Mercury Test, QTP, Test
Director for Quality Center.
Vision
DSP, VLSI, Embedded and Software testing are one of the fastest growing areas in IT across the
globe. Our vision is to create a platform, where trainees/students are able to learn different
features of technologies to secure a better position in IT industry or to improve their careers.
History of Python
Python was developed in 1980 by Guido van Rossum at the National Research Institute for
Mathematics and Computer Science in the Netherlands as a successor of ABC language
capable of exception handling and interfacing. Python features a dynamic type system and
automatic memory management. It supports multiple programming paradigms, including
object-oriented, imperative, functional and procedural, and has a large and comprehensive
standard library.
Van Rossum picked the name Python for the new language from a TV show, Monty Python's
Flying Circus.
In December 1989 the creator developed the 1st python interpreter as a hobby and then on 16
October 2000, Python 2.0 was released with many new features.
...In December 1989, I was looking for a "hobby" programming project that would
keep me occupied during the week around Christmas. My office ... would be
closed, but I had a home computer and not much else on my hands. I decided to
write an interpreter for the new scripting language I had been thinking about
lately: a descendant of ABC that would appeal to Unix/C hackers. I chose Python
as a working title for the project, being in a slightly irreverent mood (and a big
fan of Monty Python's Flying Circus)
compile
output source code execut
Hello.java
byte code
Hello.c
lass
• Easy to read: Python source-code is clearly defined and visible to the eyes.
Dictionary-
Lists are sequences but the dictionaries are mappings.
They are mappings between a unique key and a value pair.
These mappings may not retain order.
Constructing a dictionary.
Accessing object from a dictionary.
Nesting Dictionaries.
Basic Dictionary Methods.
Basic Syntax
o d={} empty dictionary will be generated and assign keys and values to
it, like d[‘animal’] = ‘Dog’
o d = {'K1':'V1', 'K2’:’V2'}
o d['K1'] outputs 'V1‘
Tuples-
Immutable in nature, i.e they cannot be changed.
No type restriction
Indexing and slicing, everything's same like that in strings and lists.
Constructing tuples.
Basic tuple methods.
Immutability.
When to use tuples?
We can use tuples to present things that shouldn’t change, such as days of
the week, or dates on a calendar, etc.
Sets-
A set contains unique and unordered elements and we can construct
them by using a set() function.
Convert a list into Set-
l=[1,2,3,4,1,1,2,3,6,7]
k = set(l)
k becomes {1,2,3,4,6,7}
Basic Syntax-
x=set()
x.add(1)
x = {1}
x.add(1)
This would make no change in x now
File Handling in Python-
Python too supports file handling and allows users to handle files i.e., to read and
write files, along with many other file handling options, to operate on files. The
concept of file handling has stretched over various other languages, but the
implementation is either complicated or lengthy, but alike other concepts of
Python, this concept here is also easy and short. Python treats file differently as
text or binary and this is important. Each line of code includes a sequence of
characters and they form text file. Each line of a file is terminated with a special
character, called the EOL or End of Line characters like comma {,} or newline
character. It ends the current line and tells the interpreter a new one has begun.
Let’s start with Reading and Writing files.
• “ r “, for reading.
• “ w “, for writing.
• “ a “, for appending.
• “ r+ “, for both reading and writing
It read the words from 101.txt file and print the all words which are present in
the file and also tell that word occurring howmany times.
Use of Numpy-
NumPy is a Python package. It stands for 'Numerical Python'. It is a library
consisting of multidimensional array objects and a collection of routines for
processing of array.
First of all we import numpy package then using this we take input in numpy
function as a list then we create a matrix
There is many more function can be perform by using this like that take sin value
of the given value ,print a zero matrix etc. we also take any image in the form of
array.
Use of Matplotlib-
Matplotlib is a library for making 2D plots of arrays in Python. Although it has its
origins in emulating the MATLAB graphics commands, it is independent of
MATLAB, and can be used in a Pythonic, object oriented way. Although Matplotlib
is written primarily in pure Python, it makes heavy use of NumPy and other
extension code to provide good performance even for large arrays.
Matplotlib is designed with the philosophy that you should be able to create
simple plots with just a few commands, or just one! If you want to see a
histogram of your data, you shouldn’t need to instantiate objects, call methods,
set properties, and so on; it should just work.
• Fast and efficient DataFrame object with default and customized indexing.
• Tools for loading data into in-memory data objects from different file
formats.
Series
DataFrame
Panel
These data structures are built on top of Numpy array, which means they are
fast.
Use of OpenCV-
OpenCV was started at Intel in 1999 by Gary Bradsky and the first release came
out in 2000. Vadim Pisarevsky joined Gary Bradsky to manage Intel’s Russian
software OpenCV team. In 2005, OpenCV was used on Stanley, the vehicle who
won 2005 DARPA Grand Challenge. Later its active development continued under
the support of Willow Garage, with Gary Bradsky and Vadim Pisarevsky leading
the project. Right now, OpenCV supports a lot of algorithms related to Computer
Vision and Machine Learning and it is expanding day-by-day.
Second argument is a flag which specifies the way image should be read.
Result-
The training program having three destination was a lot more useful than staying at one place
throughout the whole 4 weeks. In my opinion. I have gained lots of knowledge and experience
needed to be successful in great engineering challenge as in my opinion, Engineering is after
all a Challenge, and not a job.