Pythons
Pythons
Seminar-I Report
On
PYTHON PROGRAMMING
Submitted in partial fulfillment of the requirement Seminar for the First Semester
Bachelor of Computer Application
by
Ritesh Dobal
2392256
Under the Guidance of
Ms. Sonam Tyagi
Assistant Professor
PAGE INDEX
CERTIFICATE i
AKNOWLEDGEMENT ii
1 INTRODUCTION 1
2 HISTORY OF PYTHON
3 WORKING OF PYTHON
4 ADVANTAGES OF PYTHON
5 DISADVANTAGES OF PYTHON
6 LEARNING OUTCOME
8 POSSIBLE REMEDIES
9 FUTURE SCOPE
HALDWANI CAMPUS
CERTIFICATE
THIS IS TO CERTIFY THAT MR. RITESH DOBAL HAS SATISFACTORILY PRESENTED SEMINAR-I.
PRESCRIBED BY GRAPHIC ERA HILL UNIVERSITY, HALDWANI CAMPUS DURING THE YEAR 2023-
2024.
Signature
ACKNOWLEDGEMENT
FOR THE COURSE. I ALSO ACKNOWLEDGE THE ASSISTANCE AND HELP OFFERED BY MY
Ritesh Dobal
[email protected]
OBJECTIVE OF THE COURSE:
Python is commonly used for developing websites and software, task automation, data analysis, and data
visualization. Since it's relatively easy to learn, Python has been adopted by many non-programmers, such
as accountants and scientists, for a variety of everyday tasks, like organizing finances.
INTRODUCTION:
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.
HISTORY OF PYTHON:
Python is a widely used general-purpose, high-level programming language. It was initially designed by
Guido van Rossum in 1991 and developed by Python Software Foundation. It was mainly developed for
emphasis on code readability, and its syntax allows programmers to express concepts in fewer lines of
code.
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. 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. 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.
WORKING OF PYTHON:
Python doesn’t convert its code into machine code, something that hardware can understand. It
converts it into something called byte code. So within Python, compilation happens, but it’s just
not in a machine language. It is into byte code (.pyc or .pyo) and this byte code can’t be
understood by the CPU. So we need an interpreter called the Python virtual machine to execute
the byte codes.
Python has become a staple in data science, allowing data analysts and other professionals to use
the language to conduct complex statistical calculations, create data visualizations, build
machine learning algorithms, manipulate and analyse data, and complete other data-related tasks.
Python can build a wide range of different data visualizations, like line and bar graphs, pie
charts, histograms, and 3D plots. Python also has a number of libraries that enable coders to
write programs for data analysis and machine learning more quickly and efficiently, like
TensorFlow and Kera’s.
3. Web development
Python is often used to develop the back end of a website or application—the parts that a user
doesn’t see. Python’s role in web development can include sending data to and from servers,
processing data and communicating with databases, URL routing, and ensuring security. Python
offers several frameworks for web development. Commonly used ones include Django and
Flask.
Some web development jobs that use Python include back-end engineers, full stack engineers,
Python developers, software engineers, and DevOps engineers.
4. Automation or scripting
If you find yourself performing a task repeatedly, you could work more efficiently by automating
it with Python. Writing code used to build these automated processes is called scripting. In the
coding world, automation can be used to check for errors across multiple files, convert files,
execute simple math, and remove duplicates in data.
Python can even be used by relative beginners to automate simple tasks on the computer—such
as renaming files, finding and downloading online content or sending emails or texts at desired
intervals.
5. Software testing and prototyping
In software development, Python can aid in tasks like build control, bug tracking, and testing.
With Python, software developers can automate testing for new products or features. Some
Python tools used for software testing include Green and Requestium.
6. Everyday tasks
Python isn't only for programmers and data scientists. Learning Python can open new
possibilities for those in less data-heavy professions, like journalists, small business owners, or
social media marketers. Python can also enable non-programmers to simplify certain tasks in
their lives. Here are just a few of the tasks you could automate with Python:
1. Slow Speed
Python is a dynamically typed and interpreted language, as previously mentioned. Coding that is
executed line by line frequently results in slow execution. Python's slow speed is also due to its
dynamic nature, which necessitates additional work while executing code. Therefore, Python is
not utilized for projects where speed is a significant factor.
Python must make a small trade-off to make development simpler. Memory usage in the Python
programming language is high. When we prefer memory optimization when building
applications, this may be a drawback.
Most of the time, server-side programming calls for Python. The following reasons prevent us
from seeing Python in client-side or mobile applications: When compared to other languages,
Python has a slower processing speed and uses too much memory.
4. Database Access
Python programming is simple and stress-free. However, the database lags behind when we
interact with it. In comparison to popular technologies like JDBC and ODBC, Python's database
access layer is primitive and underdeveloped. Python is rarely used in large businesses because
of the complex legacy data interactions it requires.
5. Runtime Errors
Since Python is a language with dynamic typing, the data type of a variable can change at any
time. Runtime errors can result from a variable containing an integer number holding a string in
the future. As a result, applications must be thoroughly tested by Python programmers.
6. Simplicity
Python is a simple programming language which is also the biggest disadvantage. It can indeed
be a problem. Its syntax is very simple which makes a programmer more of python person and
because of which they might feel code of harder language like Java unnecessary. It concludes
that with its late-binding dynamic models and extensive libraries, shifting to a new language
from Python gets difficult as the user finds it difficult to adjust to its vulnerable nature and taking
everything on a light note.
LEARNING OUTCOME:
● The course teaches you the essential concepts of Python programming, and gives you an in-depth
knowledge in data analytics, machine learning, data visualization, web scraping, and natural
language processing. You will master the essential concepts of data types, tuples, lists, dicts, basic
operators, and functions.
● To define the structure and components of a Python program. To learn how to write loops and
decision statements in Python. To learn how to write functions and pass arguments in Python.
To learn how to build and package Python modules for reusability.
● Python is a computer programming language often used to build websites and software, automate
tasks, and conduct data analysis. Python is a general-purpose language, meaning it can be used to
create a variety of different programs and isn't specialized for any specific problems.
● Be able to differentiate between the data and instructions part of an object definition. Select
appropriate fields to include within a class. Design and implement programs where two or more
classes interact.
● You might also consider studying web development or machine learning, depending on how you
plan to use your Python expertise. We'll cover machine learning and web development below, so
you have a clear understanding of what skill you want to tackle next.
● Be able to differentiate between the data and instructions part of an object definition. Select
appropriate fields to include within a class. Design and implement programs where two or more
classes interact.
PROBLEMS FACED DURING LEARNING:
1. Finding website
Although Python is one of the emerging technologies in the field of Computer Science but I faced
problems while searching the proper app or website to learn about Python. There were many
website which were giving so many information and theories about Python. The main focus of my
was to find a proper platform that teaches of in detail about the topic and then after spending some
to on search I finally find a website that gave me detailed knowledge on Python.
In general, mistakes in Python are normally classified into kinds of mistakes and those are
compiler and runtime mistakes. mistakes confer with mistakes that arise while you coach Python
to run the application, however it fails and similarly ends in syntax mistakes. Runtime mistakes
are mistakes that arise after the code has been compiled and this system continues to be running,
inflicting it to act all of sudden or maybe crash.
3. Final thoughts
Despite being one of the excellent programming languages to study as a novice, Python
nevertheless has some demanding situations that make the studying technique extra hard. That’s
why it's crucial which you get the proper schooling and sensible level with the intention to be
capable of code and keep away from errors in order to sluggish down your studying.
Another not unusual place trouble novices face while studying Python isn't understanding what
to write. This refers to identifying what to consist of withinside the code to make it carry out
withinside the preferred way. Every phrase you write withinside the code has to carry out a
selected project and now no longer understanding, or maybe failing to achieve this nicely will
increase the possibilities of mistakes and makes the complete writing extra complicated. Luckily,
Python is a programming language which could lessen the incidence of those problems with its
characteristic to auto-whole the code in your behalf, and make it less complicated to be able to
keep away from making errors that would were observed via way of means of any incorrect
decision
5. Syntax
For people coming from other programming languages, the syntax of Python can be different,
and it may take some time to get used to it.
POSSIBLE REMEDIES:
● Python programming is also an excellent choice for automating repetitive tasks. It is not only
used to build complicated programs with complex features, but it can also be used to automate
mundane operations. By using Python, you can write simple scripts that can be used to automate
processes in a fraction of the time and with fewer errors than when done manually. For example,
if you need to generate many reports, creating a script that can do this will eliminate the need to
do the same thing multiple times. You can also use Python to automate data entry, data
cleansing, data processing, web scraping, and any other task that can be completed
programmatically.
● Python is an incredibly flexible language and can be used in a number of ways to help you solve
everyday problems. Python can be used for automation, data analysis and visualization, web
development, software development, and even for machine learning and artificial intelligence.
With so many potential uses for Python, you’re sure to find a way to use it to help you solve your
everyday problems. In short, Python can be used in a number of ways to help you solve everyday
problems. The range of libraries available makes it easy to handle a variety of tasks and the
flexibility of the language makes it useful in a variety of contexts.
● Python is commonly used for developing websites and software, task automation, data analysis,
and data visualization. Since it’s relatively easy to learn, Python has been adopted by many non-
programmers such as accountants and scientists, for a variety of everyday tasks, like organizing
finances.
● Python has become a staple in data science, allowing data analysts and other professionals to use
the language to conduct complex statistical calculations, create data visualizations, build
machine learning algorithms, manipulate and analyse data, and complete other data-related tasks.
● Python can build a wide range of different data visualizations, like line and bar graphs, pie
charts, histograms, and 3D plots. Python also has a number of libraries that enable coders to
write programs for data analysis and machine learning more quickly and efficiently, like
TensorFlow and Kera’s.
● Python is often used to develop the back end of a website or application—the parts that a user
doesn’t see. Python’s role in web development can include sending data to and from servers,
processing data and communicating with databases, URL routing, and ensuring security. Python
offers several frameworks for web development. Commonly used ones include Django and
Flask.
FUTURE SCOPE:
Developers have access to a dizzying array of programming languages, making it difficult to concentrate
on just one. The future scope of Python in India is one of the most important concerns for programmers.
IT behemoths like Google use this fluid programming language, IBM, Netflix, and many more to create
accurate and unambiguous programs. It also holds domains worldwide and provides aspiring and
seasoned developers with lucrative work prospects. Continue reading to learn more about Python’s
potential employment opportunities in India and how Python from GyanSetu training might benefit you.
Let’s look at the best job paths you may take to become a proficient Python developer.
1. Data Scientist
The subject of data science is rapidly expanding and needs highly qualified personnel. According
to Glassdoor, the third-most coveted occupation in America is in data science. Additionally, the
demand for data scientists is rising steadily in India. Additionally, these experts process, model,
and analyse data before interpreting the outcomes to develop workable plans for businesses and
other organizations
3. Program Engineer
A software engineer is another term for a coder. These experts create, develop, test, and review
computer software using software engineering concepts. Software experts have been in high
demand in recent years. Additionally, according to data from the U.S. Bureau of Labor Statistics,
jobs in software development are expected to grow by 22% between 2020 and 2030.
4. Software Engineer
A DevOps engineer adds methods, tools, and approaches to balance demands across the software
development process, from coding and installation to maintenance and upgrades. The
compensation of DevOps Engineers reflects the career of such individuals in this very promising
field, which offers development.