0% found this document useful (0 votes)
75 views3 pages

Getting Started With Python

This document discusses getting started with Python programming. It outlines several key pluses of Python including that it is easy to use, expressive, interpreted, complete, cross-platform, free and open source, and has a variety of usage applications. It also notes some minuses of Python such as that it is not the fastest language, has lesser libraries than some other languages, and is not strong on type binding. The document describes different ways to use Python including interactive mode, script mode, Jupyter notebooks, and Spyder IDE. It concludes with assignments asking questions about Python's history, cross-platform software, advantages, limitations, and different working modes.

Uploaded by

Shoonya
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
0% found this document useful (0 votes)
75 views3 pages

Getting Started With Python

This document discusses getting started with Python programming. It outlines several key pluses of Python including that it is easy to use, expressive, interpreted, complete, cross-platform, free and open source, and has a variety of usage applications. It also notes some minuses of Python such as that it is not the fastest language, has lesser libraries than some other languages, and is not strong on type binding. The document describes different ways to use Python including interactive mode, script mode, Jupyter notebooks, and Spyder IDE. It concludes with assignments asking questions about Python's history, cross-platform software, advantages, limitations, and different working modes.

Uploaded by

Shoonya
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 3

Getting Started With Python

Notes
Pluses of Python
 easy to use
object oriented language, very high level language, programmer friendly
 expressive language
fewer lines of code and simpler syntax
 interpreted language
easy to debug
 complete
various modules of python standard library
 cross platform language
portable language, runs equally well on variety of platforms
 free and open source
freely available along with its source code
 variety of usage/applications
being used in many diverse fields/applications:
i) scripting
ii) web applications
iii) rapid prototyping
iv) gui programs
v) game development
vi) database applications
vii) system administrations

Minuses of Python
 Not the fastest language
Interpreted language, faster development times but execution times are not that fast
 Lesser libraries than c, java, perl
Not competent, not larger collections available. Sometimes, these languages offer better and
multiple solutions than python.
 Not strong on type binding
Not very strong on catching ‘type-mismatch’ issues. Eg: if you declare a variable as integer
and later store a string value in it, python wont complain or pin point it.
 Because of its lack of syntax, it is an easy language to program in. becomes disadvantageous
when it comes to translating a program into another programming language. Coz most other
languages have structured defined syntax.

Different ways of using Python in


 Interactive Mode (>>>>)
One command at a time and python executes the command there and then, giving the
output. Interactive mode does no save the commands entered by you in the form of a
program.

 Script Mode
Saves all the commands in the form of program file and allows us to see all output lines
together rather sandwiched between successive commands. You can store all the
commands together in the form of a module/program/script and can get all output lines
together.

Jupyter Notebook
Web based, interactive computing environment

1)Interactive mode 2)Script mode

Spyder IDE
Powerful python IDE(Interactive Development Environment) with many useful advanced editing,
interactive testing, introspection and debugging features.

1)Interactive mode 2)Script mode

F5 => to run a program in script mode

Assignments
Q1) When was Python released?
Q2) Who was Pythons developer and which two languages contributed to python as
programming language?
Q3) What is a cross-platform software?
Q4) What are the advantages of python programming language?
Q5) What are some limitations of python programming language?
Q6) In how many different ways can you work in Python?
Q7) What are the advantages/disadvantages of working in interactive mode in python?
Q8) What are the advantages/disadvantages of working in script mode in python?

You might also like