SECOND YEAR Industrial Training - 3CS7-30 Python
SECOND YEAR Industrial Training - 3CS7-30 Python
REPORT
PYTHON
By
ATISHAY
JAIN
(PCE18CS035)
DEPARTMENT OF COMPUTER
ENGINEERING
POORNIMA COLLEGE OF ENGINEERING, JAIPUR
(Academic Year 2019-20)
CERTIFICATE
Date: 10-JULY
PCE, Jaipur
ii
iii
iv
DECLARATION
I hereby declare that the SECOND YEAR Industrial Training - 3CS7-30 REPORT
entitled “PYTHON " was carried out and written by me under the guidance of Mr.
Nimish Arvind, Assistant Professor, Department of Computer Engineering, Poornima
College of Engineering, Jaipur. This work has not been previously formed the basis for
the award of any degree or diploma or certificate nor has been submitted elsewhere for
the award of any degree or diploma.
Date:10-JULY PCE18CS035
v
ACKNOWLEDGMENT
A project of such a vast coverage cannot be realized without help from numerous sources and
people in the organization. I am thankful to Mr. Shashikant Singhi, C h a i r m a n , PGC
and Dr. Mahesh M Bundele, Director, PCE for providing me a platform to carry out such a
training successfully.
I am also very grateful to Dr. Surendra Yadav (HOD, CE) for his kind support.
I am thankful to BHARAT CHIPPA for her kind support and providing me expertise of the
domain to develop the project.
I would also like to express my hearts felt appreciation to all of my friends whose direct or
indirect suggestions help me to develop this project [and to entire team members for their
valuable suggestions.
Lastly, thanks to all faculty members of Computer Engineering department for their moral
support and guidance.
Submitted by:
ATISHAY JAIN
vi
ABSTRACT
PYTHON is very easy language to learn, it has very simple syntax as compared to other
language .
It has too much applications in the field of machine learning , artificial intelligence, data
science, deep learning . It is an object oriented language and functional language . it has too
much libraries for multiple uses. It makes code easy and short. It also used in Web
development , software development, games application , computational apllications.
Subject Descriptors:
6 CS 4 Web Technology
5 CS 4 DBMS(MY SQL)
Implementation Software :
ANACONDA, MYSQL, JUPYTER NOTEBOOK, VISUAL STUDIO,
vii
Table of Contents
1. Chapter 1 : INTRODUCTION
a. Significance of training
b. Company Profile
2. Chapter 2 : APPLICATIONS OF PYTHON
a. Languages Learned
b. Tools And Technology
3. Chapter 3 : PROJECT DESCRIPTION
a. Facebook login using python
b. Generate QR code using python
c. Automation using python
4. Chapter 4 : SNAPSHOTS OF THE PROJECT
5. FUTURE SCOPE
6. REFERENCES
viii
Chapter 1
Python Introduction
What is Python?
Python is a popular programming language. It was created by Guido van
Rossum, and released in 1991.
It is used for:
Why Python?
Python works on different platforms (Windows, Mac, Linux, Raspberry
Pi, etc).
Python has a simple syntax similar to the English language.
ix
Python has syntax that allows developers to write programs with fewer
lines than some other programming languages.
Python runs on an interpreter system, meaning that code can be
executed as soon as it is written. This means that prototyping can be
very quick.
Python can be treated in a procedural way, an object-orientated way or
a functional way.
Python Syntax
Python was designed for readability, and has some similarities to the
English language with influence from mathematics.
Python uses new lines to complete a command, as opposed to other
programming languages which often use semicolons or parentheses.
Python relies on indentation, using whitespace, to define scope; such as
the scope of loops, functions and classes. Other programming languages
often use curly-brackets for this purpose.
OPEN SOURCE
Python is open source language . It means it is free to use without any
Cost. Anyone can add betterment into python libraries .
x
Significance of training
Python is a multi-paradigm programming language that has primarily been
developed as a more concise, straightforward, and easy-to-understand alternative
to other major languages such as C, Java and Perl. Python programming is
designed to be highly standardized, with a clear protocol for any task and little to
no need for coming up with elaborate patchwork solutions to get something
done.
It's one of the world's most popular programming languages, and is commonly
used by major companies for web development purposes. Google has used it for
much of their web spider and search engine code, Yahoo built their "Groups" and
"Maps" features with it, and the Central Intelligence Agency built their entire
website with it.
In addition to web development, Python can be found in commercial games,
business software, educational applications, animation systems and many other
different types of software.
xi
Company Profile
WAE (Winner Academy of Excellence) was founded in 2012 in Pune by two diverse Industry
Leaders – Anushree Dixit and Mukesh Vyas. Anushree is a multi-faceted personality who had
excelled in the areas of Corporate Communications, Publicity, Training and Service
Management. She is also a TV Anchor, an avid dramatist and a social enthusiast. She has done
a course in Study Skills from Oxford University. On the contrary Mukesh is a Gold Medalist in
Electronics Engineering from Rajasthan University and MBA from Nirma Institute of
Management, Ahmedabad. He has an experience in the areas of Marketing, Manufacturing and
Software areas. He had worked with Infosys for around 9 years at their London, Pune and
Jaipur Offices. Today WAE has grown to a team of around 20-full time and 50 empaneled
professionals who are enthusiastic about bringing a positive change in employability scenario
of the youth.
Company mission-
Our mission is to provide our customers with unparalleled experience by making the best
product. To create wealth for all our stakeholders by building highly successful business based
on a customer approach and contributes to the community.
We are here for our clients make distinctive, lasting, and substantial improvements in their
performance and to build a great firm that attracts, develops excites and retains exceptional
people .We believe we will be successful if our clients are successful.
Address-
E -5/41 Chitrakoot
Jaipur, Rajasthan 302021
India
xii
Chapter 2
APPLICATIONS OF PYTHON
Applications of Python
xiii
Python becoming an integral part of applications involved in
computation and processing of scientific data. 3D modeling
software, such as FreeCAD, and finite element method
software, such as Abaqus, are coded in Python.
Games:
xiv
in Common Lips, was rewritten in Python in 2005. Python also
contributed in a large part to functionality in YouTube.
4. Operating Systems:
5. MACHINE LEARNING:
Python’s has very simple syntax so it also used in ML. It has many
libraries to work on & make it simple. Some popular libraries are
TENSORFLOW,NUMPY, SCIPY ETC. It also makes calculation part very
easy by using such fantastic libraries.
6.PYTHON FRAMEWORKS:
xv
Chapter 3
WEBBROWSER:
It is basically used for open a new tab by giving URL of the page.
BEAUTIFULSOUP:
It is used for web scrapping . webscrapping means to scrap anything from any
website .
xvi
TENSORFLOW:
It is used for fast numerical computing created and released by GOOGLE.
It is used in deep learning and machine learning.
SCIPY:
It is used for scientific computing, linear algebra, optimization, integration.
xvii
SELENIUM USING PYTHON
xviii
Chapter 4
Projects Of Python
Facebook Login Using Python
From selenium import webdriver
From time import sleep
User=input(“enter username”)
Pass=input(“enter password”)
Driver=webdriver.chrome()
Driver.get(“https://www.facebook.com)
Sleep(1)
Username=driver.find_Element_By_Id(‘email’)
Username.send_keys(user)
Sleep(1)
Password=driver.find_element_by_id(‘pass’)
Password.send_keys(pass)
Login=dirver.find_element_by_id(‘loginsbutton’)
Login.click()
Print(‘okay’)
Input(“press any key to quit”)
Driver.quit()
xix
QR Code using Python
Import pyqrcode
From pyqrcode import qr code
url=www.google.com
url=pyqrcode.create(url)
url.svg(“qrcode.svg”,scale=8)
xx
Automation of mouse and keyboard Using Python
import time
import pyautogui
time.sleep(10)
pyautogui.moveTo(1000, 1000, duration = 1)
pyautogui.dragRel(100, 0, duration = 1)
pyautogui.dragRel(0, 100, duration = 1)
pyautogui.dragRel(-100, 0, duration = 1)
pyautogui.dragRel(0, -100, duration = 1)
xxi
Future Scope Of Python
If you learn basics of python then after that you can uae python in:
xxii
TOP COMPANIES USING PYTHON
GOOGLE: Google’s first search engine and the entire stack were written in
Python. It was developed in the late 90s which uses old-school They still use
Python extensively.
NASA: NASA uses Workflow Automation Tool which is written in Python.
NOKIA: Nokia which is a Finnish company is a popular telecommunication
industry. It uses Python for its platform such as S60.
Yahoo! Maps: It is a map developed by Yahoo! and many of its services are also
written in Python.
xxiii
BIG WEBSITES USING PYTHON
Disqus: Disqus is a commenting forum and the entire forum uses the
Django is a web development tool written in Python.
Quora: Quora is a popular social commenting websites which is also
written in Python.
Instagram: Instagram is another website made with Django
framework. It uses Python for its front-end
YouTube: YouTube also uses scripted Python for their websites.
xxiv
REFERENCES
1. W3schools.com
2. Geeksforgeeks.com
3. Martin C.Brown python book Mac Graw Hill Publisher