Getting Started With Python
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.
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
Spyder IDE
Powerful python IDE(Interactive Development Environment) with many useful advanced editing,
interactive testing, introspection and debugging features.
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?