[go: up one dir, main page]

0% found this document useful (0 votes)
68 views26 pages

SECOND YEAR Industrial Training - 3CS7-30 Python

The document describes a report submitted for an industrial training on the topic of Python. It includes a certificate signed by the head of the computer engineering department and director of the college. The report was submitted by a student named Atishay Jain to partially fulfill the requirements for a Bachelor of Technology degree.

Uploaded by

Shubham Dwivedi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views26 pages

SECOND YEAR Industrial Training - 3CS7-30 Python

The document describes a report submitted for an industrial training on the topic of Python. It includes a certificate signed by the head of the computer engineering department and director of the college. The report was submitted by a student named Atishay Jain to partially fulfill the requirements for a Bachelor of Technology degree.

Uploaded by

Shubham Dwivedi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 26

SECOND YEAR Industrial Training - 3CS7-30

REPORT

PYTHON

Submitted in partial fulfilment of the degree of Bachelor of Technology


Rajasthan Technical University

By

ATISHAY
JAIN
(PCE18CS035)

DEPARTMENT OF COMPUTER
ENGINEERING
POORNIMA COLLEGE OF ENGINEERING, JAIPUR
(Academic Year 2019-20)
CERTIFICATE

This is to certify that SECOND YEAR Industrial Training - 3CS7-30 REPORT


entitled “PYTHON AND ANGULAR JS” has been submitted by ATISHAY JAIN
(PCE18CS035),” for partial fulfilment of the Degree of Bachelor of Technology of
Rajasthan Technical University. It is found satisfactory and approved for submission.

Date: 10-JULY

Dr. Surendra Yadav Dr. Mahesh Bundele


Head, Director,
Dept. of Comp Engg PCE, Jaipur

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.

Place:COLLEGE ATISHAY JAIN

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 would like to take this opportunity to show my gratitude towards Er.SHIVAM


MAHESHWARI ( Industrial Training - 3CS7) who helped me in successful completion of
my Second Year Practical Training. They have guided, motivated & were source of
inspiration for me to carry out the necessary proceedings for the training to be completed
successfully.

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

Description Page No.


Title
Certificate
Company Certificate
Declaration
Acknowledgement
Abstract
List of Table
List of Figures
List of Abbreviations

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:

 web development (server-side),


 software development,
 mathematics,
 system scripting.

What can Python do?


 Python can be used on a server to create web applications.
 Python can be used alongside software to create workflows.
 Python can connect to database systems. It can also read and modify
files.
 Python can be used to handle big data and perform complex
mathematics.
 Python can be used for rapid prototyping, or for production-ready
software development.

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. 

 To enhance our scope of work


 To develop new skills
 To gain knowledge of outside competition
 To get the experience to work with a company
 Exposure to real World
 To work on a Company project

xi
Company Profile

WAE Consulty Services

About The Company-


WAE Consulty Service is the automation product and engineering service Provider
Company. The ultimate mission of the company is to facilitate the learning among
society and build research and development programme.

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

1. GUI-Based Desktop Applications:

Python has simple syntax, modular architecture, rich text processing


tools and the ability to work on multiple operating systems which
make it a desirable choice for developing desktop-based applications.
There are various GUI toolkits like wxPython, PyQt or PyGtk available
which help developers create highly functional Graphical User
Interface (GUI). The various applications developed using Python
includes:

 Image Processing and Graphic Design Applications:

Python has been used to make 2D imaging software such as


Inkscape, GIMP, Paint Shop Pro and Scribus. Further, 3D
animation packages, like Blender, 3ds Max, Cinema 4D,
Houdini, Lightwave and Maya, also use Python in variable
proportions.

 Scientific and Computational Applications:

The higher speeds, productivity and availability of tools, such


as Scientific Python and Numeric Python, have resulted in

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:

Python has various modules, libraries and platforms that


support development of games. For example, PySoy is a 3D
game engine supporting Python 3, and PyGame provides
functionality and a library for game development. There have
been numerous games built using Python including
Civilization-IV, Disney’s Toontown Online, Vega Strike etc.

2. Web Frameworks and Web Applications:

Python has been used to create a variety of web-frameworks


including CherryPy, Django, TurboGears, Bottle, Flask etc. These
frameworks provide standard libraries and modules which simplify
tasks related to content management, interaction with database and
interfacing with different internet protocols such as HTTP, SMTP,
XML-RPC, FTP and POP. Plone, a content management system; ERP5,
an open source ERP which is used in aerospace, apparel and banking;
Odoo – a consolidated suite of business applications; and Google App
engine are a few of the popular web applications based on Python.

3. Enterprise and Business Applications:

With features that include special libraries, extensibility, scalability


and easily readable syntax, Python is a suitable coding language for
customizing larger applications. Reddit, which was originally written

xiv
in Common Lips, was rewritten in Python in 2005. Python also
contributed in a large part to functionality in YouTube.

4. Operating Systems:

Python is often an integral part of Linux distributions. For instance,


Ubuntu’s Ubiquity Installer, and Fedora’s and Red Hat Enterprise
Linux’s Anaconda Installer are written in Python. Gentoo Linux makes
use of Python for Portage, its package management system.

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:

Python has many frameworks but some popular frameworks are


DJANGO,FLASK,ETC. If you learn these workings then there is so
simple to work on Machine Learning

xv
Chapter 3

Python Important Libraries


NUMPY :
It is basically used for large arrays and matrices . It has large mathematical
functions to perform on arrays of multi dimension. It was created by Jim
Hugunin .
PANDAS:
It is software library used for Data Manipulation and Data Analysis. It offers
data structures for manipulating numeric tables. It is basically work on
dataframes.
PYAUTOGUI:
It basically work for automation of devices like: mouse,keyboard, by writing
some commands.
PYQRCODE:
It is basically used for generate QR code in SVG(scalar vector graphics) format.
MATPLOTLIB:
It is generally used for generate graphs , pie charts , bar graphs, histograms,
linear graphs.

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

It is automated testing tool. It was created by JASON HUGGINS in


2004.
It has 4 components :
1.Selenium IDE
2.Selenium Remote Control
3.Selenium Webdriver
4.Selenium Grid.

Selenium remote control is now not so used due to selenium webdriver.


Because it has remote server in between webbrowser and webserver but
in selenium webdriver there is not any other component for sending file.
Selenium rc does not support mobile applications. It also not support
html unit server. But selenium webdriver supports both of these.
It has 4 methods:
1.get commands
2.locator commands
3.navigation commands
4.browser commands

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:

 Web development as a backhand developer and connect your


webpage to server using python
 Learn machine learning which is in demand in companies
 Data science
 Artificial intelligence
 Internet of things
 Deep learning

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.

FACEBOOK: Facebook uses the Python language in their Production


Engineering.

 
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.

IBM: IBM an American-based multinational computer manufacturer also uses


Python for their factor tool control applications.

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.

Dropbox: The entire stack of Dropbox was 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

Bit Torrent: The original Bit Torrent client was written in Python.

 
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

You might also like