Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
1 views

Python-1

The document provides an introduction to Python, detailing its release timeline and reasons for its popularity, such as its utility, open-source nature, and ease of learning. It highlights various companies that use Python and compares it to R, emphasizing Python's versatility in data tasks and machine learning. Additionally, it outlines the learning objectives for a Python course and resources for further exploration.

Uploaded by

janavikadam124
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views

Python-1

The document provides an introduction to Python, detailing its release timeline and reasons for its popularity, such as its utility, open-source nature, and ease of learning. It highlights various companies that use Python and compares it to R, emphasizing Python's versatility in data tasks and machine learning. Additionally, it outlines the learning objectives for a Python course and resources for further exploration.

Uploaded by

janavikadam124
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Introduction to Python

Session 1
Python Release Timeline
1989
Created
Created by Guido Van Rossum in Netherlands

2000
Python 2.0 Python 2.0 released, Python 2.7 was the
recommended version

Python 1.0

Python
3.0
1994 2008
Python 1.0 released Python 3.0 released,
currently we use Python
3.7
Why Python?
• The strongest reason is utility.

• Python powers a number of applications and is used by companies like Google,


Netflix, Dropbox, Quora. A closely related reason is popularity.

• If a language is popular in the developer community, then there must be something


good about it. In a recent survey conducted by the company Stack Overflow,

• Python was rated as the third most loved language.

• https://insights.stackoverflow.com/survey/2020#technology-most-loved-dreaded-
and-wanted-languages-loved
Why Python?
• Open Source – Installing and downloading Python is free and easy. Source code
is easily accessible.

• Powerful – Rich collection of built-in data types (sets, tuples, lists, dictionaries,
etc.); Dynamic typing – Variable do not have a pre-defined type, Availability of
powerful libraries (Numpy, Pandas etc.)

• Portable – Runs in the same manner irrespective of the platform

• Object Oriented – Supports polymorphism, operation overloading , and


multiple inheritance
Why Python?
• Easy to learn and use – Syntax are intuitive and easy to grasp

• Mixable – Can be linked easily with components developed in other


languages

• Indentation – Style of writing code is unique. Block structure


indicated by indentation

• General Purpose Language – Can be used as a programming as well as a


scripting language

• Extensible – Designed to be extensible using C/C++


Who uses Python?
• Google – In its Web Search System

• NASA

• Intel, Cisco, HP, IBM – For hardware testing

• YouTube – For their video sharing service

• Can be used for creating GUIs , gaming applications , database programming etc.
Explore
• Check out the website of the Python Software Foundation and get to know more about the organization behind
Python.

• Have a look at this interesting interview of Guido Van Rossum. This is a blog maintained by Dropbox. Another
trivia: Guido worked at Dropbox for six and a half years.

• Try to watch documentaries and interviews on the web where Guido talks about how Python came into
existence. It is always good to know about some non-technical aspects of the language, such as its history and
something about the people who were behind its development. It gives a humanistic flavor to technology. We
often forget that a lot of software is written by humans, for humans.

• In the next few weeks to come, StackOverflow might become the most visited website by most of you. Some of
you might be familiar with it, but for the others,

• StackOverflow is a question-answer forum for programming related questions. It is extremely popular not just
among beginners but even experienced developers. Do check it out, but use it wisely. Refrain from using it to
get answers to assignment questions; you won't learn anything that way.
Python vs R

• R is one of the oldest programming language used for statistical analysis.


• R has more statistical support. It’s good for solving forecasting problems.
• Python can do same tasks as R.
• It can be used for data wrangling, engineering, web scraping and so on.
Powerful libraries available.
• Very useful in implementing ML models at large scale.
• Also, the deep learning frameworks like PyTorch, TensorFlow are built on top of
Python
• Both are open source.
Integrated Development Environment

• Google Collab / Replit / Jupyter


• Interactive
• Can create Visualizations
• All are Open Source
What will you learn ?

• Introduction • Literals

• Introduction to Data Sets • Conditionals

• Concepts of Variables, Iterations & • Loops

Filtering • Functions

• Data Types • Lists & Tupules

• Sanity of Data • Sets & Dictionaries

• Introduction to Complex Data Types • File Handling

• Hands – On Python • Object Oriented Programming


Resources

• https://drive.google.com/drive/my-drive

• https://www.python.org/

• https://www.python.org/psf/

• http://www.replit.com/

• https://docs.replit.com/tutorials/introduction-to-the-repl-it-ide

8
Things to initiated – Assignment
Set up & create the following accounts using SIES Id .

1. Kaggle account – Kaggle.com


2. Replit account – Replit.com
3. Stack Overflow Account – Stackoverflow.com
4. GitHub- Github.com
5. Google Collab- with your g-mail account

6. Store the Data Sets for the forthcoming Sessions

1. Identify 3 Data Sets from Kaggle – as .Csv files

You might also like