How-to
2 guides
Python How-to Guides
Practical, task-focused Python guides for solving specific problems with the language.
How-to guides
-
How-toHow to Convert Uppercase to Lowercase and Lowercase to Uppercase in Python
Learn how to convert Python strings to lowercase, uppercase, or swap their existing letter case with lower(), upper(), and swapcase().
-
How-toHow to Run a Python Script on Linux
Learn how to run Python scripts on Linux with python3, pass command-line arguments, make scripts executable, use virtual environments, and handle Ubuntu, Debian, Fedora, and Arch Linux differences.