Python tutorials

Quiz: How to Use Google’s Gemini CLI for AI Code Assistance

Interactive Quiz ⋅ 7 QuestionsBy Bartosz Zaczyński Share In this quiz, you’ll test your understanding of the How to Use Google’s Gemini CLI for AI Code Assistance tutorial. By working through these questions, you’ll revisit how to install and verify prerequisites like Node.js, explore authentication options, and understand the CLI’s permission and safety model. You’ll also practice managing interactive sessions, enforcing stronger models, and approving or editing shell commands securely. To deepen your understanding, review the sections on verifying your […]

Read more

How to Use Google’s Gemini CLI for AI Code Assistance

This tutorial will teach you how to use Gemini CLI to bring Google’s AI-powered coding assistance directly into your terminal. After you authenticate with your Google account, this tool will be ready to help you analyze code, identify bugs, and suggest fixes—all without leaving your familiar development environment: Gemini CLI Imagine debugging code without switching between your console and browser, or picture getting instant explanations for unfamiliar projects. Like other command-line AI assistants, Google’s Gemini CLI brings AI-powered coding assistance […]

Read more

Introduction to pandas

The pandas DataFrame is a structure that contains two-dimensional data and its corresponding labels. DataFrames are widely used in data science, machine learning, scientific computing, and many other data-intensive fields. DataFrames are similar to SQL tables or the spreadsheets that you work with in Excel or Calc. In many cases, DataFrames are faster, easier to use, and more powerful than tables or spreadsheets because they’re an integral part of the Python and NumPy ecosystems. In this video course, you’ll learn: […]

Read more

Quiz: Quantum Computing Basics With Qiskit

Interactive Quiz ⋅ 7 QuestionsBy Martin Breuss Share Dive into quantum computing fundamentals with this quiz. You’ll practice key ideas like superposition, measurement, entanglement, and how quantum and classical systems work together. You’ll also revisit essential Qiskit commands and understand what limits today’s quantum computers. Need a refresher? Check out Quantum Computing Basics With Qiskit for clear explanations and hands-on examples. The quiz contains 7 questions and there is no time limit. You’ll get 1 point for each correct answer. […]

Read more

Quantum Computing Basics With Qiskit

Every classical computer reduces the world to 0s and 1s. That binary framework has carried us from calculators to supercomputers, but some problems demand checking through 2n possibilities, a task that outpaces even the best machines. Now, what if information could exist in many states at once? That what if turned into a new model called quantum computation. Keep reading to break with binaries and get an overview of quantum computing basics. By the end of this tutorial, you’ll understand […]

Read more

How to Convert Bytes to Strings in Python

Converting bytes into readable strings in Python is an effective way to work with raw bytes fetched from files, databases, or APIs. You can do this in just three steps using the bytes.decode() method. This guide lets you convert byte data into clean text, giving you a result similar to what’s shown in the following example: >>> binary_data = bytes([100, 195, 169, 106, 195, 160, 32, 118, 117]) >>> binary_data.decode(encoding=”utf-8″) ‘déjà vu’

Read more

How to Properly Indent Python Code

Knowing how to properly indent Python code is a key skill for becoming an accomplished Python developer. Beginning Python programmers know that indentation is required, but learning to indent code so it’s readable, syntactically correct, and easy to maintain is a skill that takes practice. By the end of this tutorial, you’ll know: How to properly indent Python code in a variety of editors How your choice of editor can impact your Python code How to indent code using spaces […]

Read more

Quiz: Build a Python MCP Client to Test Servers From Your Terminal

Interactive Quiz ⋅ 5 QuestionsBy Leodanis Pozo Ramos Share In this quiz, you’ll test your understanding of how to Build a Python MCP Client to Test Servers From Your Terminal. By working through this quiz, you’ll revisit how to add a minimal chat interface, create an AI handler to power the chat, handle runtime errors, and update the entry point to run the chat from the command line. You will confirm when to initialize the AI handler and how to […]

Read more

Build a Python MCP Client to Test Servers From Your Terminal

Building an MCP client in Python can be a good option when you’re coding MCP servers and want a quick way to test them. In this step-by-step project, you’ll build a minimal MCP client for the command line. It’ll be able to connect to an MCP server through the standard input/output (stdio) transport, list the server’s capabilities, and use the server’s tools to feed an AI-powered chat. By the end of this tutorial, you’ll understand that: You can build an […]

Read more
1 2 3 205