Blog

Python tutorials and tips on the Academify blog. Learn programming with examples, exercises, and projects from basic to advanced

A developer typing code on a laptop with a Python book beside in an office.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python pty: Automate Unix Terminals

Learn Python pty to run and test interactive programs, control pseudo-terminals, handle EOF, resize, signals, timeouts, and cleanup.

Read more

Reading time: 5 minutes
August 25, 2026
Close-up of hands typing on a laptop keyboard, Python book in sight, coding in progress.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python tty: Raw and Cbreak Modes

Learn Python tty to use raw and cbreak modes, read keys, parse sequences, handle Unicode, and safely restore Unix terminals.

Read more

Reading time: 5 minutes
August 25, 2026
Detailed view of programming code in a dark theme on a computer screen.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python termios: Safe Terminal Control

Learn Python termios for canonical mode, echo, key reads, baud rate, queues, window size, and safe restoration of POSIX terminals.

Read more

Reading time: 5 minutes
August 25, 2026
Side view of contemplating female assistant in casual style standing near shelves and choosing file with documents
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python fcntl: File Locks and Control

Learn Python fcntl for file locks, descriptor flags, ioctl, pipes, and Unix control while avoiding invalid buffers and memory corruption.

Read more

Reading time: 5 minutes
August 25, 2026
A developer typing code on a laptop with a Python book beside in an office.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python readline: History and Autocomplete

Learn Python readline for command history, tab completion, line editing, GNU Readline, libedit, and safer interactive terminal prompts.

Read more

Reading time: 5 minutes
August 25, 2026
Peaceful river scene with mossy boulders and flowing water captured in long exposure.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python io: Master Streams and Buffers

Learn Python io for text and binary streams, buffering, encodings, StringIO, BytesIO, raw I/O, and file-like interfaces.

Read more

Reading time: 6 minutes
August 24, 2026
Business professional analyzing financial data on multiple computer monitors at his workspace.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python select: Monitor Multiple I/O

Learn Python select to monitor sockets and pipes, handle partial I/O, backpressure, poll, epoll, signals, and platform differences.

Read more

Reading time: 6 minutes
August 24, 2026
Striking image of a red-bellied python showcasing its vibrant scales in dramatic lighting.
Advanced Python
Foto de perfil de Leandro Hirt da Academify

Python signal: Graceful Process Shutdown

Learn Python signal to handle SIGTERM and SIGINT, stop services, use timers and wakeup file descriptors, and avoid handler deadlocks.

Read more

Reading time: 6 minutes
August 24, 2026