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

960 articles

Java Boolean Operator Explained [Practical Examples]

There are multiple java boolean operators such as logical operators that include logical operators, like the logical AND and logical OR as discussed above, …

By azkaiftikhar · 8 min read · programming

10 Ways to Get File Extension in Python [SOLVED]

we can get file extension in python using splitex(), split(), rfind(), pathlib.path.stem() and rpartition() method by taking various examples

By bashiralam · 11 min read · programming

Introduction to Python for Machine Learning

We have discussed in detail Python for Machine Learning. We have also talked about the types of Machine Learning. For instance, we have provided brief …

By bashiralam · 10 min read · programming

How to catch multiple exceptions in Python? [SOLVED]

In Python, we use the try and except blocks to catch and handle any kind of exceptions and errors that might occur during the execution of our program. In this …

By bashiralam · 9 min read · programming

Python get home directory [Practical Examples]

In this tutorial, we learned about Python get home directory by using various methods. We covered three different methods that we can use to get the home …

By bashiralam · 6 min read · programming

How to PROPERLY exit script in Python [3 Methods]

In this tutorial, we learned about three different methods that are used to terminate the python script including exit(), quit() and sys.exit() method by taking …

By bashiralam · 8 min read · programming

Master Python pwd Module [Basics to Advanced]

The Python pwd module provides access to the Unix user account and password database. Using this module, we can access the user's account and password database. …

By bashiralam · 10 min read · programming

Master Python Optional Arguments Usage [Tutorial]

Learn everything you need to know about Python optional arguments and optional args. From basics and best practices to advanced techniques, this guide covers it …

By bashiralam · 13 min read · programming

Python writelines() Method [Practical Examples]

how we can use the Python writelines() and Python write() method to write a specific text to the file by using various examples. Furthermore, we also discussed …

By bashiralam · 8 min read · programming