CloudAcademy
  1. Home
  2. Training Library
  3. DevOps
  4. Courses
  5. Introduction to Python

Course Summary

Developed with
Trivera

The course is part of this learning path

Introduction to Python
course-steps 3 certification 1 lab-steps 2
play-arrow
Start course
Overview
DifficultyBeginner
Duration55m
Students83

Description

 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.

Transcript

- [Instructor] Okay, let's just quickly summarize what we've covered in this course. First, everything in Python is declared by assignment. Python supports Dynamic typing. Variables in Python are declared by assigning to them. A variable cannot be used before it is assigned to, however. The Python convention for variable names is all_lower_case_words_with_underscores. 

Python supports three numeric types; integers, floating point numbers, and complex numbers. Python supports four types of sequences; strings, bytes, lists, and tuples. Python also supports mapping modes; dictionaries and sets. Dictionaries are mapped sets of values. Dictionary keys must be hashable. Sets are similar to dictionaries, but contain only keys. A set is an unique collection of values and there are two types. The normal set is dynamic, or mutable, and a frozen set is fixed, or immutable, like a tuple. 

In Python, modules must be imported before their contents may be accessed. Variables, functions, and classes must be declared before they can be used. There are three main IO methods in Python; print, open and input. 

The conditional statement in Python is IF. There are two kinds of loops in Python. The while-loop is used for reading data, typically from a database or another data source, or when waiting for user input to end a loop. The for-loop is used to iterate through a sequence of data. Built in functions can be applied to many different data types, but not all functions can be applied to all data types. 

Okay, that completes this lecture. See you in the next one.

About the Author

Students50623
Courses76
Learning paths28

Andrew is an AWS certified professional who is passionate about helping others learn how to use and gain benefit from AWS technologies. Andrew has worked for AWS and for AWS technology partners Ooyala and Adobe.  His favorite Amazon leadership principle is "Customer Obsession" as everything AWS starts with the customer. Passions around work are cycling and surfing, and having a laugh about the lessons learnt trying to launch two daughters and a few start ups. 

Covered Topics