IPN CIC

    Welcome
    IPN-Dharma AI Lab

    This is an IPN CIC - DHARMA initiative to provide an Artificial Intelligence Laboratory to motivate researchers, professors and students to take advantage of the courses, resources and tools of the main technology platforms of the industry in the areas of Machine Learning, Data Science, Cloud Computing, Artificial Intelligence and Internet of Things with the purpose of generating a practical experience through a learning model between peers and by objectives.

    Level 1: Literacy and Foundations

    Take your First Steps with Python

    Interested in learning a programming language but aren't sure where to start? Start here! Learn the basic syntax and thought processes required to build simple applications using Python.

    In this learning path, you'll:
    • Write your first lines of Python code.
    • Store and manipulate data to modify its type and appearance.
    • Execute built-in functionality available from libraries of code.
    • Add logic to your code to enable complex business functionality.
    Once you complete this learning path, you will have a great foundation to build upon in subsequent Python Learning Paths.

    Courses in this program

    1) What is Python?

    A quick introduction to Python, programming languages, compilation, and the process of programming.

    In this module, you'll learn:
    • What a programming language does, why Python is so popular, and why it's a great choice as your first programming language.
    • Why you must compile your code into a format that computers understand.
    • The process of programming and the software tools you must install.

    Esfuerzo  Estimated effort 1 hour

    Idioma  English language

    Link  Microsoft Learn

    2) Set up your Python Beginner Development Environment with Visual Studio Code

    Get started with learning Python by installing and configuring the tools you'll need to build real applications.

    By the end of this module, you'll be able to:
    • Install Python 3, if needed.
    • Install and configure Visual Studio Code and extensions on your computer.
    • Create a Python file.
    • Write and run Python code in Visual Studio Code.

    Esfuerzo  Estimated effort 1 hour

    Idioma  English language

    Link  Microsoft Learn

    3) Create your First Python Program

    Get started with Python by writing code to interact with end users.

    In this module, you will:
    • Create Python code files and execute that code inside of Visual Studio Code.
    • Write code to send a text message to the command line.
    • Write code to accept user input from the command line.
    • Understand why compilation and runtime errors occur, and what to do next.
    • Concatenate hard-coded text with user input to display custom-formatted messages to the user.
    • Perform mathematical addition on numeric data.
    • Convert alphanumeric data into numeric data and back (and learn why you need to do this).

    Esfuerzo  Estimated effort 1 hour

    Idioma  English language

    Link  Microsoft Learn

    4) Branch Code Execution with the if and else Statements in Python

    Use the if statement Boolean expressions with comparison and logic operators to express decision logic.

    In this module, you will:
    • Use the if ... elif ... else statements to add decision logic to your Python code.
    • Understand the Boolean data type and what it represents in Python.
    • Compose Boolean expressions by using a rich set of comparison and logic operators.

    Esfuerzo  Estimated effort 1 hour

    Idioma  English language

    Link  Microsoft Learn

    5) Manipulate and Format String Data for Display in Python

    Use built-in features of the string class and other helper methods to control string data.

    In this module, you will:
    • Use escape characters in literal strings to add new lines and tabs.
    • Use features of the print() function to format strings for display.
    • Call one of many built-in functions to strip empty spaces, add padding, and find and replace substrings.
    • Use the format() function to create a format string that contains a series of replacement fields.

    Esfuerzo  Estimated effort 1 hour

    Idioma  English language

    Link  Microsoft Learn

    6) Perform Mathematical Operations on Numeric Data in Python

    Convert user input to numeric values, and use mathematical operators to perform calculations.

    In this module, you will:
    • Use the type(), isinstance(), and isnumeric() methods to inspect a value's data type and its suitability for use or conversion to a numeric data type.
    • Use mathematical operators to perform basic mathematical operations on numeric data.
    • Use the float data type to represent values that include fractional values represented by numbers after the decimal point.

    Esfuerzo  Estimated effort 1 hour

    Idioma  English language

    Link  Microsoft Learn

    7) Import Standard Library Modules to Add Features to Python Programs

    Explore the Python standard library, how to add a module to your program, and how to download third-party packages.

    In this module, you will:
    • Explore the Python standard library.
    • Add the import statement to tell the Python compiler which modules you will use in your code.
    • Use the pip utility to download third-party open-sourced packages.

    Esfuerzo  Estimated effort 1 hour

    Idioma  English language

    Link  Microsoft Learn

    8) Iterate through Code Blocks by Using the while Statement

    Use the while statement and related Python code constructs to add looping logic to your programs.

    In this module, you will:
    • Use the while statement to iterate through a code block.
    • Use the break, continue, and else statements to further control iteration.
    • Use alternate assignment operators to perform mathematical operations that also assign values.

    Esfuerzo  Estimated effort 1 hour

    Idioma  English language

    Link  Microsoft Learn

    9) Manage a Sequence of Data by Using Python Lists

    Learn how to use lists to manage a collection of data. Use helper functions to manipulate the list. Use the for statement to iterate through the list.

    In this module, you will:
    • Create lists of related data.
    • Get an item or a subset of items from a list by using indexes and slices.
    • Add and remove items from a list.
    • Use helper functions for other list-related actions.
    • Iterate through a list by using the for iteration statement.

    Esfuerzo  Estimated effort 1 hour

    Idioma  English language

    Link  Microsoft Learn

    10) Create Reusable Functionality with Functions in Python

    Define functions to create encapsulated modular code that accept input and return results.

    In this module, you'll:
    • Define functions that encapsulate functionality.
    • Add input parameters to functions so they can be called using input arguments.
    • Return values from functions.
    • Create modules to host functions that can be imported into other code files.

    Esfuerzo  Estimated effort 1 hour

    Idioma  English language

    Link  Microsoft Learn

    © 2015 |Laboratorio de Microtecnología y Sistemas Embebidos | Centro de Investigación en Computación | Instituto Politécnico Nacional