Introduction to Python
The course is part of this learning path
In this first course, we introduce the Python Language, the declaration model, and how variables and functions are used in python.
Our learning objectives for this course are to introduce the python language and to be able to recognize and explain the core concepts of the Python language.
- [Narrator] So first off, what is Python? Python is an all-purpose interpreted language. Python was created by Guido Van Rossum beginning in 1989. He was involved with the development of Amoeba, a distributed operating system. And had previously worked on ABC, a scripting language designed to be easier to learn for non-programmers. Then Rossum took ABC and improved it, added new features some of which came from other languages such as Perl and Lisp. His design goal was to serve as a second language for people who were C or C++ programmers but who had work where writing a C program was just not effective. The first public release of Python was in 1991. Python is an interpreted language.
The Python interpreter reads a script and interprets it on the fly. And since there's no compile phase, the development cycle can be very rapid. Like Perl, Ruby and Bash, the program consists of a text file containing Python commands. To run the program, you run the interpreter, normally called Python.exe or Python et cetera, and tell it which file contains the commands. The advantages of Python are that it's clear and readable syntax. It's multi-paradigm: object-orientated programming, procedural and functional. Code can be organized into modules and packages. And has exception-based error handling. It has dynamic data structures e.g lists and dictionaries. An extensive standard library and third party modules, strong introspection capabilities and it can be extended with C and C++. The Python proramming language has rapidly become the language of choice with developers building internet based applications.
Now that's not a small consideration at all. The biggest issue you will find, as the complexity of your application grows, is avoiding uncommented hex, exceptions, and the inevitable code spaghetti that comes from trying to reuse things that weren't designed to be reused. Object-orientation with Perl can become a real bottleneck as you try to reuse components. Whereas, with Python, Python makes that simple. And this is where your love for Python tends to start. Python is well suited as a glue language. Python can work very well with other languages. Components can be developed in Java, and combined to form applications in Python. Python can also be used to prototype components until the design can be hardened into a Java implementation.
Andrew is fanatical about helping business teams gain the maximum ROI possible from adopting, using, and optimizing Public Cloud Services. Having built 70+ Cloud Academy courses, Andrew has helped over 50,000 students master cloud computing by sharing the skills and experiences he gained during 20+ years leading digital teams in code and consulting. Before joining Cloud Academy, Andrew worked for AWS and for AWS technology partners Ooyala and Adobe.