Python Ppt
Python Ppt
Python Ppt
com
Seminar
On
Python
object-oriented
rather than add-on (OOTcl)
What is Python
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.
History
Invented in the Netherlands, early 90s by Guido van
Rossum
Python was conceived in the late 1980s and its
implementation was started in December 1989
Guido Van Rossum is fan of ‘Monty Python’s Flying
Circus’, this is a famous TV show in Netherlands
Named after Monty Python
Open sourced from the beginning
Timeline
Python born, name picked - Dec 1989
By Guido van Rossum, now at GOOGLE
First public release (USENET) - Feb 1991
python.org website - 1996 or 1997
2.0 released - 2000
Python Software Foundation - 2001
…
2.4 released - 2004
2.5 released – 2006
Current version: 2.6.x
Differences between program and
scripting language
$ python -version
Installation on Mac
5) Working on Python's script mode
To work on Python command line, we simply type python3 on the
terminal. Python shell open where we can run Python
statements such as print statements as we did here.
To run a Python file (.py) on the terminal, we simply type the file
name and the file will be interpreted.
Well, we have installed Python3 on our MacOS.
Hello World: Create your First
Python Program
Creating First Program
Step 1) Open PyCharm Editor. You can see the introductory screen
for PyCharm. To create a new project, click on “Create New
Project”.
Hello World: Create your First
Python Program
Step 2) You will need to select a location.
You can select the location where you want the project to
be created. If you don’t want to change location than keep
it as it is but at least change the name from “untitled” to
something more meaningful, like “FirstProject”.
PyCharm should have found the Python interpreter you
installed earlier.
Next Click the “Create” Button.
Hello World: Create your First
Python Program
Hello World: Create your First
Python Program
Step 4) A new pop up will appear. Now type the name of the file
you want (Here we give “HelloWorld”) and hit “OK”.
Hello World: Create your First
Python Program
Step 7) You can see the output of your program at the bottom of
the screen.
Hello World: Create your First
Python Program
Step 9) If you are still not able to run the program, we have
Python Editor for you.
Applications of Python
GUI based desktop applications
Graphic design, image processing applications, Games, and
Scientific/ computational Applications
Web frameworks and applications
Enterprise and Business applications
Operating Systems
Education
Database Access
Language Development
Software Development
What are the top Python IDEs?
1. Spyder
2. PyCharm
3. Thonny
4. Atom
5. Jupyter
6. Komodo
7. Wingware
Advantages of Python
Presence of third-party modules
Extensive support libraries(NumPy for numerical calculations,
Pandas for data analytics etc)
Open source and community development
Versatile, Easy to read, learn and write
User-friendly data structures
High-level language
Dynamically typed language(No need to mention data type based
on the value assigned, it takes data type)
Object-oriented language
Disadvantages of Python
Lack of Standardized Design Patterns
No Built-In Database Management System
Not Well Suited For Large Applications
Poor Security Features
Weak in Mobile Computing
Trouble in Using Other Languages
Gets Slow in Speed
Conclusion
• Wikipedia.org
• Google.com
• Seminarppt.com
• Studymafia.org
Thanks
To
SeminarPpt.Com