You are on page 1of 28

ADVANCED PYTHON PROGRAMMING

An
Internship Report
Submitted in partial fulfillment of the requirements
For the award of the Degree of

BACHELOR OF TECHNOLOGY

In

ELECTRICAL AND ELECTRONICS ENGINEERING

By

A.MAHESH BABU 19881A0251

Under the Supervision of


Mr.Philip B
Sr Programmer
Pantech E Learning
Chennai.
(Duration:8th Aug 2022 to 7th Sept 2022 )

Department of Electrical and Electronics Engineering

VARDHAMAN COLLEGE OF ENGINEERING


(Autonomous)
Shamshabad, Hyderabad – 501 218
Affiliated to JNTU, HYDERABAD
2022-23

i
VARDHAMAN COLLEGE OF ENGINEERING
(Autonomous)
Shamshabad, Hyderabad – 501 218

Department of Electrical and Electronics Engineering

CERTIFICATE

Certified that this is a bonafide record of the Internship entitled, ADVANCE PYTHON PROGRAMMING
done by A.MAHESH BABU bearing Admission No: 19881A0251 submitted to the faculty of Electrical and
Electronics Engineering, in partial fulfillment of the requirements for the Degree of BACHELOR OF
TECHNOLOGY in Electrical and Electronics Engineering from Jawaharlal Nehru Technological
University Hyderabad during the year 2022-2023.

Department Internship Coordinator Head of the Department

ii
ACKNOWLEDGEMENT

I take this opportunity to express my deepest gratitude and appreciation to all those who have helped me
directly or indirectly towards the successful completion of this project.

It gives us a great sense of pleasure to present the report of the Internship “ADVANCE PYTHON
PROGRAMMING” undertaken during B. Tech final year. We owe special debt of gratitude to Dr.MD.ASIF
(Head of the department) of Electrical and Electronics Engineering, for his constant support and guidance
throughout the course of our work.

We also take the opportunity to acknowledge the contribution of Associate Professor A.ANANDA KUMAR,
Internship Coordinator, Dept. of EEE for his immense support and giving necessary guidance.

We express our gratitude to all the faculty of our department for their cooperation and keen interest throughout
this project.

A.MAHESH BABU

(19881A0251)

iv
ABSTRACT

Python is a modern, easy-to-learn, object-oriented programming language. It has a


powerful set of built-in data types and easy-to-use control constructs. Since Python is
an interpreted language, it is most easily reviewed by simply looking at and
describing interactive sessions. It is used in vast number of applications due to the
various standard libraries that come along with it and its capacity to integrate with
other languages and use their features. Python can be used for scripting, web
scraping, and creating data sets. It’s popular in the scientific community for scientific
computing; there are libraries that make it easy to share academic code projects in
Python. Python is a web programming language, so it interfaces with the internet. It
knows how to receive and send web requests and talk to databases. This paper
describes the main features of Python programming, loops and control statements in
python then discusses applications of Python programming

v
Organization Information
Pantech E-learning Private Limited is an unlisted private company incorporated on 17 February, 2021.
It is classified as a private limited company and is located in Chennai, Tamil Nadu. It's authorized
share capital is INR 15.00 lac and the total paid-up capital is INR 1.00 lac.
Started modestly in 2004, Pantech E- Learning strives to be a leader in the area of Technical Training's,
Products & Research Initiatives. Having developed and established a comprehensive set of
sustainable business initiatives that facilitate our bottom-line approach to operating our business
The current status of Pantech E-learning Private Limited is - Active. Details of the last annual general
meeting of Pantech E-learning Private Limited are not available. The company is yet to submit its
first full-year financial statements to the registrar.
Pantech E-learning Private Limited has four directors - Senthilkumar Ramasamy Muniappa
Gounder, Jeeva Mayandi Kalidass, and others.
The Corporate Identification Number (CIN) of Pantech E-learning Private Limited is
U80902TN2021PTC141464. The registered office of Pantech E-learning Private Limited is at
No.11/A, Thanjavur Road, T. Nagar, Chennai, Chennai, Tamil Nad

vi
Learning Objectives/Internship Objectives

 Internships are generally thought of to be reserved for college students looking to gain
experience in a particular field. However, a wide array of people can benefit from Training
Internships in order to receive real world experience and develop their skills.

 An objective for this position should emphasize the skills you already possess in the area
and your interest in learning more

 Internships are utilized in a number of different career fields, including architecture,


engineering, healthcare, economics, advertising and many more.

 Some internship is used to allow individuals to perform scientific research while others are
specifically designed to allow people to gain first-hand experience working.

 Utilizing internships is a great way to build your resume and develop skills that can be
emphasized in your resume for future jobs. When you are applying for a Training
Internship, make sure to highlight any special skills or talents that can make you stand apart
from the rest of the applicants so that you have an improved chance of landing the position.

vii
WEEKLY OVERVIEW OF INTERNSHIP ACTIVITIES

DATE DAY NAME OF THE TOPIC/MODULE COMPLETED


1st WEEK

8/08/22 Monday Introduction of Python


9/08/22 Tuesday Overview of Python
10/08/22 Wednesday Python-Data Types
11/08/22 Thursday Python-Data Types
12/08/22 Friday Conditional Statements
13/08/22 Saturday Looping statements

DATE DAY NAME OF THE TOPIC/MODULE COMPLETED


Looping statements
2nd WEEK

15/08/22 Monday
16/08/22 Tuesday Functions in Python
17/08/22 Wednesday Functions in Python-[MODULE]
18/08/22 Thursday Python Modules
19/08/22 Friday Python Pip
20/08/22 Saturday Python Pip

viii
DATE DAY NAME OF THE TOPIC/MODULE COMPLETED
22/08/22 Monday Dimension and Description
3rd WEEK

23/08/22 Tuesday Dimension and Description


24/08/22 Wednesday Retrieve the data using label

25/08/22 Thursday Retrieve the data using label

26/08/22 Friday Numpy - Numerical Python


27/08/22 Saturday Numpy - Numerical Python

DATE DAY NAME OF THE TOPIC/MODULE COMPLETED


4th WEEK

29/08/22 Monday Ndarray.dm


30/08/22 Tuesday Ndarray.dm
31/08/22 Wednesday Python-pandas
01/09/22 Thursday Python-pandas
02/09/22 Friday Matplotlib
03/09/22 Saturday Matplotlib , types of plots

ix
INDEX

Sl. No CONTENTS Page no

1. Introduction 1

2. Problem Statement 3

3. Literature Review 4

4. Methodology 5

5. Problem Solution 6

6. Implementation 11

7. Conclusion 16

APPENDIX

Photos taken during internship


Student evaluation of internship experience

x
INTRODUCTION
History:
The programming language in which Python is said to have succeeded is ABC
Programming Language, which had interfacing with the Amoeba Operating System
and had the feature of exception handling.In the late 1980s, history was about to be
written. It was that time when working on Python started. Soon after that, Guido Van
Rossum began doing its application- based work in December of 1989 at Centrum
Wiskunde & Informatica (CWI) which is situated in the Netherlands. It was started
firstly as a hobby project because he was looking for an interesting project to keep him
occupied during Christmas. He had already helped to create ABC earlier in his career
and he had seen some issues with ABC but liked most of the features. After that what
he did was really very clever. He had taken the syntax of ABC, and some of its good
features. It came with a lot of complaints too, so he fixed those issues completely and
had created a good scripting language that had removed all the flaws. The inspiration
for the name came from BBC’s TV Show – ‘Monty Python’s Flying Circus’, as he
was a big fan of the TV show and also he wanted a short, unique and slightly
mysterious name for his invention and hence he named it Python! He was the
“Benevolent dictator for life” (BDFL) until he stepped down from the position as the
leader on 12th July 2018. For quite some time he used to work for Google, but
currently, he is working at Dropbox.

The language was finally released in 1991. When it was released, it used a lot
fewer codes to express the concepts, when we compare it with Java, C++ & C. Its
design philosophy was quite good too. Its main objective is to provide code
readability and advanced developer productivity. When it was released it had more
than enough capability to provide classes with inheritance, several core data types
exception handling and functions.

Define:
Python is an interpreted, object-oriented, high-level programming language with
dynamic semantics. Its high-level built in data structures, combined with dynamic
typing and dynamic binding, make it very attractive for Rapid Application
Development, as well as for use as a scripting or glue language to connect existing
components together. Python's simple, easy to learn syntax emphasizes readability and
therefore reduces the cost of program maintenance. Python supports modules and
packages, which encourages program modularity and code reuse. The Python
interpreter and the extensive standard library are available in source or binary form
without charge for all major platforms, and can be freely distributed.

xi
Block diagram:

Steps to download python:

Step 1: Select Version of Python to Install.


Step 2: Download Python Executable Installer.
Step 3: Run Executable Installer.
Step 4: Verify Python Was Installed On Windows.
Step 5: Verify Pip Was Installed.
Step 6: Add Python Path to Environment Variables (Optional)
Step 7: Install virtualnv (Optional)

xii
Applications:
Python is used in many application domains. Here's a sampling.

 The Python Package Index lists thousands of third party modules for Python.
Desktop GUIs
The Tk GUI library is included with most binary distributions of Python.

Some toolkits that are usable on several platforms are available separately:

 wxWidgets
 Kivy, for writing multitouch applications.
 Qt via pyqt or pyside
Platform-specific toolkits are also available:

 GTK+
Microsoft Foundation Classes through the win32 extensions

xiii
Scientific and Numeric
Python is widely used in scientific and numeric computing:

 SciPy is a collection of packages for mathematics, science, and engineering.


 Pandas is a data analysis and modeling library.
 IPython is a powerful interactive shell that features easy editing and recording of a
work session, and supports visualizations and parallel computing.
 The Software Carpentry Course teaches basic skills for scientific computing,
running bootcamps and providing open-access teaching materials.
Education
Python is a superb language for teaching programming, both at the introductory level
and in more advanced courses.

 Books such as How to Think Like a Computer Scientist, Python Programming: An


Introduction to Computer Science, and Practical Programming.
 The Education Special Interest Group is a good place to discuss teaching issues.

xiv
Software Development
Python is often used as a support language for software developers, for build control
and management, testing, and in many other ways.

 SCons for build control.


 Buildbot and Apache Gump for automated continuous compilation and testing.
 Roundup or Trac for bug tracking and project management.

Business Applications
Python is also used to build ERP and e-commerce systems:

 Odoo is an all-in-one management software that offers a range of business


applications that form a complete suite of enterprise management applications.
Tryton is a three-tier high-level general purpose application platform.

xv
Web and Internet Development
Python offers many choices for web development:

 Frameworks such as Django and Pyramid.


 Micro-frameworks such as Flask and Bottle.
 Advanced content management systems such as Plone and django CMS.
Python's standard library supports many Internet protocols:

 HTML and XML


 JSON
 E-mail processing.
 Support for FTP, IMAP, and other Internet protocols.
 Easy-to-use socket interface.
And the Package Index has yet more libraries:

 Requests, a powerful HTTP client library.


 Beautiful Soup, an HTML parser that can handle all sorts of oddball HTML.
 Feedparser for parsing RSS/Atom feeds.
 Paramiko, implementing the SSH2 protocol.
Twisted Python, a framework for asynchronous network programming.

xvi
PROBLEM STATEMENT
The first concepts were basic and were very easy to understand as we were familiar with the
java. But the further concepts were a bit complex and difficult. They consumed more time than
expected. As we were doing the internship during the semester, we faced difficulty to balance
both and hence some topics were not clearly understood. Some applications were not
compatible with the preferred device. Listening to the internship class and using the tool in
parallel was a difficult task. the challenges that are faced are Setting up the work environment .
Deciding what to write. Top Data Science Skills to Learn in 2022,compiler errors debugging
the code.

 To acquire programming skills in python Programming.


 To acquire Object Oriented Skills in python.
 To know about all libraries which are there in python.
 To acquire knowledge on deep learning techniques.
 Build basic programs using fundamental programming constructs like variables,
conditional logic, looping, and functions.
 Work with user input to create fun and interactive programs
 Create simple games with images, animations, and audio using our custom beginner
friendly programming library, Wizardlib

1
LITERATURE REVIEW
A Literature Review is a systematic and comprehensive analysis of books, scholarly
articles, and other sources relevant to a particular topic providing a base of knowledge on a
topic. A literature review is an overview of the previously published works on a particular
topic. Literature reviews are designed to identify and critique the existing literature on a topic
to justify your research by exposing gaps in current research. We have found four
experimental studies that compare object oriented approach with the traditional procedural
approach.

The first study by Decker (2003) has found no difference in student performance
between the two approaches. The second study by Reges (2006) has found significant gains
in student satisfaction and enrolment after replacing the object oriented programming first
curriculum with a procedural approach. The third study by Vilner (2007) has found no
significant gains in student performance between the two approaches. The parameters used in
this research to compare the two teaching approaches are the pass rate of students and grades
in questions related to recursion, efficiency of algorithms and designing of classes.The
fourth study by Ehlert (2009) has found no significant gains by changing the object-oriented
programming first approach with object oriented programming later approach.
The concept of Machine Learning is not new for us. There are several studies has been
made so far. The process of Machine Learning is a multidimensional problem so there are
several facets available for designing and analyzing the web based applications in machine
learning using Python.

2
METHODLOGY
Machine learning is a branch of artificial intelligence (AI) and computer science which
focuses on the use of data and algorithms to imitate the way that humans learn, gradually
improving its accuracy. As explained, machine learning algorithms have the ability to improve
themselves through training. There is no error margin in the operations carried out by
computers based an algorithm and the operation follows certain steps. Different from the
commands which are written to have an output based on an input, there are some situations
when the computers make decisions based upon the present sample data.
In those situations, computers may make mistakes just like people in the decision-
making process. That is, machine learning is the process of equipping the computers with the
ability to learn by using the data and experience like a human brain.Artificial Intelligence
refers to machines mostly computers working like humans. In AI, machines perform tasks like
face recognition, learning and, problems-solving etc. Machines can work and act like a
human if they have enough knowledge about the task. So in artificial intelligence, knowledge
engineering plays a important role. The relation between objects and properties are accepted
to implement knowledge engineering.
The main aim of machine learning is to create models which can train themselves to
improve, perceive the complex patterns, and find solutions to the new problems by using the
previous data. Today, ML algorithms are trained using three prominent methods. These are
three types of machine learning: supervised learning, unsupervised learning, and reinforcement
learning.

3
PROBLEM SOLUTION

Python code is understandable by its users, which makes it easier to build models for
machine learning. Python's extensive selection of machine learning-specific libraries and
frameworks simplify the development process and cut development time. Python's simple
syntax and readability promote rapid testing of complex algorithms, and make the language
accessible to non-programmers.
A large number of useful libraries for scientific computing and machine learning have
been developed(Ren, 2021). Python offers concise and readable code. While complex
algorithms and versatile workflows stand behind machine learning i.e. Python’s simply allows
developers to write reliable systems. Developers get to put all their effort to solve ML problems
instead of focusing on the technical nuances of the language. Additionally, Python is appealing
to many developers as it’s easy to learn.
The subset of machine learning composed of algorithms that permit software to train
itself to perform tasks, like speech and image recognition, by exposing multilayered neural
network to vast amount of data. Deep learning uses Neural networks that pass data through
many processing layers to interpret data features and deep learning managed by algorithms are
largely self-directed on data analysis once they are put into production. While some deep
learning algorithms are capable of accepting tabular data as input, the majority of state-ofthe-
art methods that are finding the best predictive performance are general-purpose and able to
extract salient information from raw data in a somewhat automated way.
This automatic feature extraction is an intrinsic component of their optimization task
and modeling architecture. For this reason, deep learning is often described as a representation
or feature learning method. However, one major downside of deep learning is that it is not well
suited to smaller, tabular datasets, and parameterizing DNNs can require larger datasets,
requiring between 50,000 and 15 million training examples for effective training. The
following sections review early developments of GPUand Python-based deep learning libraries
focusing on computational performance through static graphs, the convergence towards
dynamic graphs for improved userfriendliness, and current efforts for increasing
computational efficiency and scalability, to account for increasing dataset and architecture
sizes

4
IMPLEMENTATION
After attending this internship, I have learnt about the basics of python programming
and how to work with python. This training has been very effective and also very affordable.
Also, my confidence in python grew up. It provided structured contents as informative
modules, assessments and support.

Here is a small program which I implemented during Internship Training Program

# Program to display calendar of the given month and year


# importing calendar moduleimport calendar

yy = 2014 # year
mm = 11 # month
# To take month and year input from the user# yy = int(input("Enter year: "))# mm =
int(input("Enter month: "))
# display the calendarprint(calendar.month(yy, mm))

Output

November 2014
Mo Tu We Th Fr Sa Su
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30

5
CONCLUSION

Python is playing a significant role in our day to day life. Therefore it is a need to do
more and more work on its use and development. The reason behind this development is the
difficulty of analyzing and processing the rapidly increasing data.
Machine learning is based on the principle of finding the best model for the new data
among the previous data thanks to this increasing data. Therefore,machine learning
researches will go on in parallel with the increasing data. We work with several parts of
Django Framework to get this working: View, Models, Forms, and Templates.As we all
know, python is one of the most popular and in-demand programming languages to
learn and it was one of the first languages to standardise high-level threading utilities.
python project is a must for aspiring developers.
This project helps developers develop realworld projects to hone their skills and
materialise their theoretical knowledge into practical experience. Python has significant
advantages both as a commercial language and also as a teaching language. Python project
provides rigorous compile-time error checking typically associated with Pascal, allowing
instructors to introduce students to GUI programming, networking, threads, and other important
concepts used in modern-day software. Overall, the Python project gives a complete design for
the extended language.

6
Photographs Taken during Internship

7
STUDENT EVALUATION OF INTERNSHIP
EXPERIENCE
The questions below are intended to help us determine if you have gained practical experience, knowledge,
and/or skills from your recent internship experience and if you would recommend this internship
experience to other students.
Name:

Semester of Internship: Year:

Organization where you interned:

Department (In the Organization):

City: State:

Supervisor:

What resources did you use to find your internship? (Tick all that apply)
Faculty General Internet Sites
Family/Friend Previous Employer
Other:

Please rate the following questions about your internship using the following scale:
5 = Strongly 4 = Agree 3 = Neutral 2 = Disagree 1 = Strongly NA=Not
Agree Disagree applicable

 This experience gave me a realistic preview of my


field of interest. 5 4 3 2 1 N/A
 As a result of my internship, I have a better 5 4 3 2 1 N/A
understanding of concepts, theories, and skills in my
course of study
 I was given adequate training. 5 4 3 2 1 N/A
 I had regular meetings with my supervisor andreceived
5 4 3 2 1 N/A
constructive, on-going feedback.
 The work I performed was challenging andstimulating. 5 4 3 2 1 N/A

 I had a good working relationship with mycoworkers.


5 4 3 2 1 N/A

 There were ample opportunities for learning. 5 4 3 2 1 N/A

 I feel that I am better prepared to enter the world of 5 4 3 2 1 N/A


work after this experience.
8
Through this internship I had the opportunity to use and develop my:

 Interpersonal/human relations skills 5 4 3 2 1 N/A


 Oral Communication/presentation skills 5 4 3 2 1 N/A
 Creativity 5 4 3 2 1 N/A
 Problem Solving abilities 5 4 3 2 1 N/A
 Critical thinking skills 5 4 3 2 1 N/A
 Writing skills 5 4 3 2 1 N/A

Name: Internship site:

1. Overall how would you rate this internship?

Excellent learning experience


Good learning experience
Average learning experience
Below Average learning experience
Poor learning experience

Additional Comments:

2. Would you recommend this internship to other students?

Highly recommend
Recommend
Recommend with reservations
Would not recommend

Additional comments:

3. Please provide suggestions you may have for future interns who select
this site.

9
Evaluation Sheet
Sl. Mark Allocation under different Heads Evaluator 1 Evaluator 2 Evaluator 3
No
1 Organization of Internship Report (20)
2 Presentation about Internship (20)
3 Novelty of the problem analyzed (20)
4 Organization of Activities during Internship (20)
5 Relevance to the Courses Studied (20)
Total

10
Program Outcomes as defined by NBA (PO) Engineering Graduates will be able to:
1. Engineering knowledge: Apply the knowledge of mathematics, science, engineering fundamentals, and
an engineering specialization to the solution of complex engineering problems.
2. Problem analysis: Identify, formulate, review research literature, and analyze complex engineering
problems reaching substantiated conclusions using first principles of mathematics, natural sciences, and
engineering sciences.
3. Design/development of solutions: Design solutions for complex engineering problems and design system
components or processes that meet the specified needs with appropriate consideration for the public health
and safety, and the cultural, societal, and environmental considerations.
4. Conduct investigations of complex problems: Use research-based knowledge and research methods
including design of experiments, analysis and interpretation of data, and synthesis of the information to
provide valid conclusions.
5. Modern tool usage: Create, select, and apply appropriate techniques, resources, and modern engineering
and IT tools including prediction and modeling to complex engineering activities with an understanding of
the limitations.
6. The engineer and society: Apply reasoning informed by the contextual knowledge to assess societal,
health, safety, legal and cultural issues and the consequent responsibilities relevant to the professional
engineering practice.
7. Environment and sustainability: Understand the impact of the professional engineering solutions in
societal and environmental contexts, and demonstrate the knowledge of, and need for sustainable
development.
8. Ethics: Apply ethical principles and commit to professional ethics and responsibilities and norms of the
engineering practice.
9. Individual and team work: Function effectively as an individual, and as a member or leader in diverse
teams, and in multidisciplinary settings.
10. Communication: Communicate effectively on complex engineering activities with the engineering
community and with society at large, such as, being able to comprehend and write effective reports and
design documentation, make effective presentations, and give and receive clear instructions.
11. Project management and finance: Demonstrate knowledge and understanding of the engineering and
management principles and apply these to one’s own work, as a member and leader in a team, to manage
projects and in multidisciplinary environments.
12. Life-long learning: Recognize the need for, and have the preparation and ability to engage in independent
and life-long learning in the broadest context of technological change.

11
Mapping of Internship Activities to POs

PO Level 1 Level 2 Level 3


PO1
PO2
PO3
PO4
PO5
PO6
PO7
PO8
PO9
PO10
PO11
PO12

12

You might also like