Programming Tutorials and Coding Guides
Explore programming tutorials with practical examples across multiple languages, scripting, and development concepts for beginners and advanced users.
Welcome to the Programming tutorials section, where you will learn coding concepts with real-world examples across multiple languages and platforms.
This category includes beginner to advanced guides covering scripting, automation, and application development. Whether you are learning programming for system administration or building applications, these tutorials will help you gain practical experience.
Programming plays a crucial role in modern infrastructure and DevOps workflows. You can also explore related topics such as DevOps and Linux to understand how programming integrates with system-level operations.
What you will learn
- Core programming concepts and logic building
- Writing scripts for automation and system tasks
- Debugging and optimizing code
- Practical use cases in real environments
Who should read this
- Beginners starting with coding
- System administrators learning scripting
- Developers looking for practical examples
970 articles
Featured guides in this category
Hand-picked, most-cited tutorials — start here if you're new.
![HackerRank Solution: Martix Script [Python Regex]](/matrix-script-hackerrank-solution/python_matrix_script_hu_128db40108208303.webp)
HackerRank Solution: Martix Script [Python Regex]
In this tutorial we will cover multiple methods to solve matrix script from hackerrank solutions.

HackerRank Solution: Python Company Logo
company logo hackerrank solution python, company logo hackerrank solution python3, hackerrank solution for …
![Mastering Python subprocess Module [In-Depth Tutorial]](/python-subprocess/python_subprocess_hu_b6a4c79f22c292e1.webp)
Mastering Python subprocess Module [In-Depth Tutorial]
The different functions available with python subprocess are Popen(), call(), run(), check_call(), …

How to Remove or Uninstall a Go Package (go get, Go Modules, Tools)
Learn how to remove or uninstall a Go package added with go get or go install. This guide explains how to …

HackerRank Solution: Python Alphabet Rangoli
In this tutorial we cover 3 methods to solve alphabet rangloi hackerrank solution in python3. Solution-1: …
![HackerRank Solution: Python Nested Lists [4 Methods]](/python-nested-list-hackerrank-solution/python_nested_lists_hu_3ed8216f6e7dce26.webp)
HackerRank Solution: Python Nested Lists [4 Methods]
In this tutorial we will cover 4 different methods to solve python nested list hackerrank solution using …
Bash script arguments and parameters: `$1`, `$#`, `shift`, and parsing flags
Bash script arguments and bash script parameters with $0–$9, $#, "$@", shift, and a while/case example; missing-flag values, $# checks, and links to getopts and …
Bash concatenate strings: join, append (`+=`), separators, and newlines
Bash concatenate strings and bash string concat with ${a}${b}, bash append to string using +=, join strings with separators, brace pitfalls (${var}_), loops, …
Bash getopts: optstring, OPTIND, leading colon, and getopt vs getopts
Bash getopts tutorial: optstring, OPTARG, OPTIND, opterr, bash getopts leading colon behavior for missing option arguments vs invalid options, bash getopts …
Bashrc vs bash_profile: login vs non-login shells, .profile, and /etc/skel
Bashrc vs bash_profile and profile vs bashrc: when Bash reads ~/.bashrc, ~/.bash_profile, and ~/.profile on login and new terminals, Debian vs Red Hat patterns, …
Bash check if file exists: [[ -f ]], test, symlinks, and Linux examples
Bash check if file exists with [[ -f ]], test -e, and [ ]; bash if file exists patterns with if/else; symlinks and broken links; check if file exists on Linux …
How to create, read, append, write to file in Python
use open() or with open() function with different modes to create, write, append content to a text or binary file. Python write to file by overwriting the …
Mastering Python subprocess Module [In-Depth Tutorial]
The different functions available with python subprocess are Popen(), call(), run(), check_call(), check_output(). What is the difference between these …
Use Python Logging Like a PRO: Don't be a Rookie
Learn how to use python logging module with examples. Write to console, stdout, stderr, to log file or syslog. Create single or multiple handlers using …
How to use python if else in one line with examples
Learn how to use python if else statement in one line using ternary operator. You can also hack your way to use nested if else or if elif else in single line
Python if else statement usage with examples
Learn about python if else statement, nested if statement with different examples using comparison and logical operators
Master Python datetime() Function: The Clock Is Ticking
In this tutorial we will learn about python datetime module which can be used to get current date and time based on different timezone. Use strptime() or …
Check if Python String contains Substring [5 Methods]
How to check if string contains substring in Python. Look out for exact match, case insensitive match or use regex to match the pattern in Python script
Master Python Enum Classes: A Comprehensive Guide
The python enum class provides an implementation of an enumeration type, with iteration and comparison capabilities. It can be used to create well-defined …
How to append string in Python
Python append string using different operators and functions such as str.join, + operator, += and format strings. Concatenate strings to one another.
How to declare global variables in Python
How can we define global variables in Python. What is the difference between local vs global variables. What are namespaces, scope and functions in Python …
