Using the Python subprocess Module: Gettting Started & Using subprocess to Run Python
Автор: Real Python
Загружено: 2025-05-08
Просмотров: 989
Описание:
This is a preview of the video course, "Using the Python subprocess Module". Python’s subprocess module allows you to run shell commands and manage external processes directly from your Python code. By using subprocess, you can execute shell commands like ls or dir, launch applications, and handle both input and output streams. This module provides tools for error handling and process communication, making it a flexible choice for integrating command-line operations into your Python projects.
This is a portion of the complete course, which you can find here:
https://realpython.com/courses/python...
The rest of the course covers:
Using subprocess to Run Any App
Understanding the CompletedProcess Object
Exploring Exceptions
Raising a TimeoutExpired Error
Communicating With Standard IO Streams
Decoding of Standard Streams
Introducing Pipes
Simulating Pipes With run()
Creating Pipes With Popen
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: