What is Python?

What is Python?

Tiempo de lectura: 2 minutos Reading time: 2 minutes Python is a high-level, general-purpose programming language that was created in 1989 by Guido van Rossum. Since then, it has become one of the most popular and widely used programming languages in the world, used in enterprise application development, research, and data analysis. One of the things I love about Python … Read more

Creating a Neural Network with Python and Keras

Creating a Neural Network with Python and Keras

Tiempo de lectura: 2 minutos Reading time: 2 minutes Today I’m going to show you an example of how to create a neural network using Python and the Keras library: from keras.models import Sequential from keras.layers import Dense # Create the model model = Sequential() # Add an input layer with 16 neurons model.add(Dense(16, input_dim=8, activation=’relu’)) # Add a hidden … Read more

Using the For Loop in Python

Using the For Loop in Python

Tiempo de lectura: 2 minutos Reading Time: < 1 minute In this tutorial, I will teach you how to use the “for” loop in Python. The “for” loop is a very useful tool that allows us to iterate over a list or iterable and perform an action for each element. To get started, you’ll need to have a list or ... Read more

Using the Map Function in Python

Using the Map Function in Python

Tiempo de lectura: 2 minutos Reading Time: 2 minutes In this tutorial, I will teach you how to use the “map” function in Python. The “map” function is a very useful tool that allows us to apply a function to each element of a list or iterable and return a new list with the results. To get started, you’ll need … Read more

Creating a Neural Network to Invent the Conversion Formula from Hours to Minutes Using Python and TensorFlow

Creating a Neural Network to Invent the Conversion Formula from Hours to Minutes Using Python and TensorFlow

Tiempo de lectura: 3 minutos Reading time: 3 minutes Today I’m going to show you how to create a small neural network capable of predicting the conversion formula from hours to minutes. To create this Artificial Intelligence, we’re going to use TensorFlow, a library created by Google that will make things easier for us. To install it, we run: python3 … Read more

Installation and Configuration of Python and fastAPI for a Project in Visual Studio Code

Installation and Configuration of Python and fastAPI for a Project in Visual Studio Code

Tiempo de lectura: 2 minutos Reading time: 2 minutes You must have Ubuntu installed on Windows and a project created in Visual Studio Code beforehand. Here are the following helpful links: Install Ubuntu on Windows Create project in Visual Studio using commands in Ubuntu In the Visual Studio Code terminal, install Python3 as shown below: sudo apt install python3-pip To … Read more

Create a Project in Visual Studio Code Using Ubuntu Console on Windows with WSL/WSL2 to Use FastAPI.

Create a Project in Visual Studio Code Using Ubuntu Console on Windows with WSL/WSL2 to Use FastAPI.

Tiempo de lectura: 2 minutos Reading time: 2 minutes You must have previously installed Ubuntu on Windows, I’ll leave you the following helpful link: Install Ubuntu on Windows Once we have Ubuntu installed, I’m going to create a folder within home using commands where we will place our project. sudo mkdir proyectoDevCodeLight We modify the permissions to allow us to … Read more

Adding Commands to a Telegram Bot (Python)

Adding Commands to a Telegram Bot (Python)

Tiempo de lectura: 4 minutos Reading time: 3 minutes Following the previous day’s post How to Make a Telegram Bot (Python), we will complete this Python script to add command functionality to the bot. Commands are used to instruct the bot to perform specific functions. A command is written in the Telegram chat in the following format: /command Let’s make … Read more