Category

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

959 articles

Python range() Function [In-Depth Tutorial]

Python range() function is a built-in function that generates a list of numbers. This list is mostly used to iterate over using a for loop.

By Deepak Prasad · 13 min read · programming

Python dictionary (15 easy examples with syntax)

Python Dictionary are indexed using keys, which are usually strings. There are two kinds of dictionaries in Python: the default dict, which is unordered, and …

By Deepak Prasad · 13 min read · programming

Python for loop (10 easy examples with syntax)

The Python for loop is also referred to as the for…in loop. This is due to its unique syntax that differs a bit from for loops in other languages. We use range, …

By Deepak Prasad · 14 min read · programming

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 …

By Deepak Prasad · 15 min read · programming

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 …

By Deepak Prasad · 16 min read · programming

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 …

By Deepak Prasad · 13 min read · programming

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

By Deepak Prasad · 9 min read · programming

Python if else statement usage with examples

Learn about python if else statement, nested if statement with different examples using comparison and logical operators

By Deepak Prasad · 14 min read · programming

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 …

By Deepak Prasad · 18 min read · programming