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 substring Explained With Examples

A Python substring is a small part of a string. To extract a substring from a string by slicing with indices that get our substring …

By Bashir Alam · 10 min read · programming

Python List Comprehension [In-Depth Tutorial]

Python list comprehension allows you to generate this same list in just one line of code. A list comprehension combines the for loop and the creation of new …

By Bashir Alam · 11 min read · programming

Python Operators Explained in Detail with Examples

There are different Python operators. Arithmetic operators, logic operators, assignment operators, augmented operators, bitwise operators, and two special kinds …

By Bashir Alam · 20 min read · programming

Python map() function explained with examples

The python map function is a Python built-in function that allows us to iterate over iterable without using explicitly any loop

By Bashir Alam · 14 min read · programming

Python lambda function - with simple examples

Python Lambda is also known as an anonymous function because of its anonymous behavior. It can take any number of arguments but only one expression.

By Bashir Alam · 11 min read · programming

Deploy flask with gunicorn and nginx (Step-by-Step)

We will use gunicorn as a WSGI server to communicate with our flask app, and Nginx as a proxy server between the gunicorn server and the client.

By Deepak Prasad · 12 min read · programming

Python CSV | Read and Write CSV in Python Examples

3 different methods to read and write CSV files in Python. Use pandas, mumpy and open() function as CSV reader and CSV writer with example.

By Bashir Alam · 13 min read · programming

Flask SQLAlchemy [In-Depth Tutorial]

Flask SQLAlchemy is an extension for flask that adds support for SQLAlchemy to flask by adding useful defaults and helpers that simplify basic tasks

By Deepak Prasad · 21 min read · programming

Flask Templates with Jinja2 Explained in Detail

Jinja2 is python based template engine used in flask, it is built in flask, so you do not need to download a separate package to use jinja2 with flask, it is …

By Deepak Prasad · 12 min read · programming

Steps to Create Python Web App | Python Flask Example

life cycle of creating a python web app that allows user to create, edit and delete blog posts. We used flask for the back-end, jinja2 engine that comes with …

By Deepak Prasad · 21 min read · programming

Python add to dictionary examples (7 different methods)

In this tutorial we have explored 7 different ways for python add to dictionary with examples. You can use dict.update(), dict[key] =value, dict.setdefault(), …

By Deepak Prasad · 7 min read · programming

The Ultimate Guide to Python Argparse: No More Excuses!

Python argparse, supplies a host of features, making it easy to add argument handling to scripts. You can make arguments required or optional, have the user …

By Deepak Prasad · 23 min read · programming

10 simple ways to sort dictionary by key in Python

After Python 3.6, now dictionary can remember the order in which items are added. So we can easily sort dictionary by key using sorted() and many other modules …

By Deepak Prasad · 7 min read · programming