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

957 articles

Python round up practical examples

Python round up methods, math.ceil() method, floor division method, simple arithmetic method, and nampy.ceil() method to round up a number in Python.

By Bashir Alam · 13 min read · programming

Python set difference() Tutorial [Practical Examples]

The difference between the two sets in Python is equal to the difference between the number of elements in two sets. The Python set difference function returns …

By Bashir Alam · 9 min read · programming

Python Constructor: __init__ Method Explained

Learn Python constructors using the __init__ method with examples for self, parameters, default values, validation, copying mutable arguments, object creation, …

By Bashir Alam · 10 min read · programming

Python multi line strings [5 Methods Explained]

In this programming tutorial we learned about 5 different methods include using three double quotes, three single quotes, backslash, brackets, and using join() …

By Bashir Alam · 8 min read · programming

Master Python zip Function: Boost Your Coding Skills

The Python zip function accepts iterable items and merges them into a single tuple. The resultant value is a zip object that stores pairs of iterables. we can …

By Bashir Alam · 14 min read · programming

Python UUID Easy Examples to generate UUID

This Python UUID module provides immutable UUID objects and the functions uuid1(), uuid3(), uuid4(), and uuid5() for generating version 1, 3, 4, and 5 UUIDs

By Bashir Alam · 8 min read · programming

Python struct module Explained [Easy Examples]

This tutorial explains python struct.pack(), python struct.unpack(), python struct.calcsize(), struct.pack_into() and struct.unpack_form() by solving different …

By Bashir Alam · 8 min read · programming

Python Flatten List Examples

We covered the nested loop method, list comprehension, recursive method, sum method and also covered some Python modules which helped us with python flatten …

By Bashir Alam · 9 min read · programming

How to PROPERLY Join Lists in Python

python join lists using 6 different methods including plus (+) operator, asterisk (*) operator, naive method, list comprehension, extend method and …

By Bashir Alam · 13 min read · programming

Master the Potential of Python Ternary Operator

The Python Ternary Operator is a type of condition expression in the Python programming language that allows the developers to evaluate statements.

By Bashir Alam · 18 min read · programming

Python Static Method Explained [Basics to Advanced]

Python static method is extremely similar to the python class-level method, the difference is that a static method is bound to a class rather than the objects …

By Bashir Alam · 12 min read · programming