python-cross-platform-smoothing
Knowledge base of cross-platform compatibility tips, tricks, and helper patterns for Python scripts targeting Windows, Linux, macOS, CLI, TUI (Rich/Textual), and GUI environments. Use when writing Python scripts that must run on multiple platforms, when Rich or Typer output breaks on Windows, when dealing with Unicode/encoding issues, terminal detection, path separators, or console color support. Covers: stdout/stderr encoding guards, ANSI escape handling, Windows console quirks, terminal capability detection, and portable I/O patterns.
Installation and usage
Knowledge base of cross-platform compatibility tips, tricks, and helper patterns for Python scripts targeting Windows, Linux, macOS, CLI, TUI (Rich/Textual), and GUI environments. Use when writing Python scripts that must run on multiple platforms, when Rich or Typer output breaks on Windows, when dealing with Unicode/encoding issues, terminal detection, path separators, or console color support. Covers: stdout/stderr encoding guards, ANSI escape handling, Windows console quirks, terminal capability detection, and portable I/O patterns.
بعد التثبيت، يمكنك استخدام هذه المهارة بتشغيل الأمر التالي في الطرفية:
skills use python-cross-platform-smoothing