Bienvenidos
IPN-Dharma IA Lab
Es una iniciativa de Laboratorio de Inteligencia Artificial del CIC del IPN con la colaboración de DHARMA para motivar a investigadores, profesores y estudiantes a aprovechar los cursos, recursos y herramientas de las principales plataformas tecnológicas de la industria en las áreas de Aprendizaje Automático, Ciencia de Datos, Computación en la Nube, Inteligencia Artificial e Internet de las Cosas con el propósito de generar una experiencia práctica a través de un modelo de aprendizaje entre pares y por objetivos.
Nivel 1: Alfabetización y Fundamentos
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:
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.
Cursos en este programa
1) What is Python?
A quick introduction to Python, programming languages, compilation, and the process of programming.
In this module, you'll learn:
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.
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:
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.
3) Create your First Python Program
Get started with Python by writing code to interact with end users.
In this module, you will:
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).
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:
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.
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:
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.
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:
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.
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:
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.
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:
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.
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:
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.
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:
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.