Python is a general purpose, dynamic, high-level and interpreted programming language. It is used widely in data science, machine learning, web development, automation and more. Python was created in the 1990s by Guido van Rossum to be an interpreted language that bridged the gap between C and shell scripting. It has many advantages like being readable, cross-platform, having a large standard library and being open source.
Introduction to Python Programming; characteristics include general-purpose, dynamic, high-level, interpreted, and object-oriented.
Top reasons to learn Python include its vast applications in Data Science, AI, web development, and more.
Python was invented by Guido van Rossum in the late 1980s, first released in 1991, and is open-source.
Python's features include readability, ease of learning, cross-platform, free access, and automatic memory management.
IDLE is Python's simple IDE allowing interactive coding and output display.
Python is shorter and more versatile compared to Java and C++, enhancing application component integration.
Main areas include Data Science, Automation, Application Development, AI & Machine Learning, Audio/Video applications, Console Applications, and Desktop GUI.
Top Reason ToLearn Python Where is used Python Programming? • Data Science • Data Mining • Desktop Applications • Console-based Applications • Mobile Applications • Software Development • Artificial Intelligence • Web Applications • Enterprise Applications • 3D CAD Applications • Machine Learning • Computer Vision • Image Processing Applications. • Speech Recognitions
5.
History • Invented inNetherlands, 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 • First public release in 1991 • Open Sourced from beginning
6.
Why was pythoncreated “My original motivation for creating Python was the perceived need for a higher level language in the Amoeba(OS) project I realized that the development of system administration utilities in C was taking too long. Moreover, doing these things in the Bourne shell wouldn’t work for a variety of reasons……. So, there was a need for a language that would bridge the gap between C and the shell” - Guido Van Rossum
7.
Some important Features •Readable: Python is a very readable language. • Easy to Learn: Learning python is easy as this is a expressive and high level programming language. • Cross platform: Python is available and can run on various operating systems such as Mac, Windows, Linux, Unix etc. • Open Source: Python is a open source programming language. • Large standard library: Python comes with a large standard library.
8.
Some important Features(contd.) • Free: Python is free to download and use. • Python is an example of a FLOSS (Free/Libre Open Source Software), • Supports exception handling: An exception is an event that can occur during program exception and can disrupt the normal flow of program. • Advanced features: Supports generators and list comprehensions. • Automatic memory management: Memory is cleared and freed automatically.
9.
Integrated Development andLearning Environment (IDLE) • IDLE is a simple integrated development environment (IDE) that comes with Python. • It’s a program that allows you to type in your programs and run them • When you first start IDLE, it starts up in the shell • Shell is an interactive window where you can type in Python code and see the output in the same window
10.
Comparison with otherlanguages Java • Typically 3-5 times shorter than equivalent Java programs • Run-time works harder than Java’s • Components can be developed in Java and combined to form applications in Python • Python can be used to prototype components into Java implementation
11.
Comparison with otherlanguages (contd.) Perl • Come from similar backgrounds • Python is more applicable than Perl • Perl emphasizes support for common application-oriented tasks • Python emphasizes support for common programming methodologies
12.
Comparison with otherlanguages C++ • Differences are similar to Java’s • Often 5-10 times shorter than equivalent C++ code • Python shines as a glue language; used to combine components written in C++
13.
Thrust Areas OfPython 1. Data Science • Data science is an interdisciplinary domain that comprises of three distinct and overlapping areas: • How to model and summarize data like a statistician • How to design and use algorithms to store, process, and visualize data like a computer scientist • How to formulate the right questions and put answers in the right context like a domain expert
14.
Thrust Areas OfPython (contd.) 2. Automation • There are times when tasks are too niche to have standard software for it. • That is when scripting comes into play. • Python allows developers to script custom automation and bring efficiency in tasks in less time. • Automating repetitive tasks such as sending emails & voicemails, organizing files & folders, launching programs, filling out forms, etc. can be automated through scripting.
15.
Thrust Areas OfPython (contd.) 3. Application Development • Python is a favourable choice for web application development. • Python integrates well with other programming languages and has some amazing web frameworks that boost the application development cycle.
16.
Thrust Areas OfPython (contd.) 4. AI & Machine Learning • Python’s pre-built libraries are the reason why it is preferred for AI & machine learning development. • Numpy for scientific computation, • Pybrain for machine learning tasks, • Scipy for technical and scientific computing • These are some of the python libraries that make it a supportive technology for AI and ML development.
17.
• There arepython libraries for Natural Language & Text Processing. • The Natural Language Toolkit (NLTK) contains open-source Python modules, linguistic data & documentation for R&D in natural language processing and text analytics. • In addition to this, there are some general python libraries for Artificial Intelligence. • AIMA, • SimpleAI, • EasyAI, • pyDatalog Thrust Areas Of Python (contd.)
18.
Thrust Areas OfPython (contd.) 5. Audio/Video Applications • Python is a sought-after programming language for creating audio/video applications. • An example of this is the Spotify app that’s built using Python programming language. • Some of the python libraries such as PyDub, OpenCV support building audio/video streaming apps with high-level functionality.
19.
Thrust Areas OfPython (contd.) 6. Console Applications • A console application is a computer program that’s designed for the text- only interfaces, such as the command-line interface of Unix, DOS operating system. • For building console applications, there are advanced python libraries that help in the development of fully-fledged apps for the command-line interface.
20.
Thrust Areas OfPython (contd.) 7. Desktop GUI • Python has libraries for building desktop GUI applications. • Camelot • Kivy • PyGTK are some of the amazing libraries and tool-kits available for building desktop GUI.