0% found this document useful (0 votes)
0 views

Lecture 1 Python Self notes

Python is a versatile programming language created by Guido van Rossum in 1991, used for various applications including web development, game development, and artificial intelligence. Its features include easy syntax, portability across platforms, and support for multiple programming paradigms. Python can be executed interactively, from files, or within an IDE, making it accessible for both beginners and experienced developers.

Uploaded by

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

Lecture 1 Python Self notes

Python is a versatile programming language created by Guido van Rossum in 1991, used for various applications including web development, game development, and artificial intelligence. Its features include easy syntax, portability across platforms, and support for multiple programming paradigms. Python can be executed interactively, from files, or within an IDE, making it accessible for both beginners and experienced developers.

Uploaded by

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

Programming Language 1

Python3 programming
Lecture 1
What is Python?
• Python is a popular programming
language. It was created by Guido van
Rossum, and released in 1991.
• It is used for:
• Web development (server-side),
• Game Development
• Scientific and Numeric Applications
• Artificial Intelligence and Machine
Learning
• Desktop GUI
• Software Development
• Education programs and training courses
Why python?
• Python works on different platforms (Windows, Mac, Linux,
Raspberry Pi, etc).
• Python has a simple syntax like the English language.
• Python has syntax that allows developers to write programs with
fewer lines than some other programming languages.
• Python runs on an interpreter system, meaning that code can be
executed as soon as it is written. This means that prototyping can
be very quick.
• Python can be treated in a procedural way, an object-oriented
way or a functional way.
Python Features
• Easy-to-learn − Python has few keywords, simple structure, and a clearly defined syntax. This allows a student to pick
up the language quickly.
• Easy-to-read − Python code is more clearly defined and visible to the eyes.
• Easy-to-maintain − Python's source code is fairly easy-to-maintain.
• Interactive Mode − Python has support for an interactive mode which allows interactive testing and debugging of
snippets of code.
• Portable − Python can run on a wide variety of hardware platforms and has the same interface on all platforms.
• Extendable − You can add low-level modules to the Python interpreter. These modules enable programmers to add to
or customize their tools to be more efficient.
• Databases − Python provides interfaces to all major commercial databases.
• GUI Programming − Python supports GUI applications that can be created and ported to many system calls, libraries
and windows systems, such as Windows MFC, Macintosh, and the X Window system of Unix.
• Scalable − Python provides a better structure and support for large programs than shell scripting.
Python Execution Model
There are several ways in which you can run a
Python program, including:

1. Interactively using the Python interpreter


Running
Python 2. Stored in a file and run using the Python
Programs command

3. Run as a script file specifying the Python


interpreter to use within the script file

4. From within a Python IDE (Integrated


Development Environment) such as PyCharm.

You might also like