Author

Deepak Prasad

Deepak Prasad

R&D Engineer

at · 1111 articles published

Founder of GoLinuxCloud with more than 15 years of expertise in Linux, Python, Go, Laravel, DevOps, Kubernetes, Git, Shell scripting, OpenShift, AWS, Networking, and Security. With extensive experience, he excels across development, DevOps, networking, and security, delivering robust and efficient solutions for diverse projects.

Areas of expertise

Certifications & credentials

  • Red Hat Certified System Administrator in Red Hat OpenStackID: 180-246-001
  • Certified Kubernetes Application Developer (CKAD)
  • Red Hat Certified Specialist in Ansible Automation
  • Go: Data Structures, Algorithms and Design Patterns With Go
Author profile illustration for Deepak Prasad — technical writer at GoLinuxCloud

Articles by Deepak Prasad

programming

Python continue Statement

Learn how the Python continue statement works in for loops, while loops, if conditions, and nested loops, with examples, flowchart, break vs continue, and common mistakes.

Deepak Prasad7 min read
programming

Python pass Statement

Learn what the pass statement does in Python, when to use it in functions, classes, if blocks, loops, and exception handling, and how pass differs from continue, break, and return.

Deepak Prasad8 min read
programming

Python Numbers

Learn Python numeric types including integers, floating-point numbers, and complex numbers. Understand int vs float, type conversion, numeric literals, precision, and when to use each number type.

Deepak Prasad7 min read
programming

Python next() Function

Learn how Python next() works with iterators, default values, StopIteration, generators, first-item lookup, and first matching item patterns.

Deepak Prasad7 min read
programming

Python Create Directory Recursively

Learn how to create directories recursively in Python using pathlib Path.mkdir(parents=True, exist_ok=True) and os.makedirs(), including create-if-not-exists examples and common errors.

Deepak Prasad6 min read
programming

Python Matplotlib pyplot

Learn Python Matplotlib pyplot with simple plot examples. Create line plots, scatter plots, bar charts, and make beautiful plots using labels, colors, markers, legends, grids, styles, and savefig().

Deepak Prasad8 min read
programming

Python Custom Exceptions

Learn how to create custom exceptions in Python by subclassing Exception, raise custom exceptions with messages, catch them, add attributes, chain exceptions, and follow best practices.

Deepak Prasad7 min read
programming

Python List vs Tuple vs Set vs Dictionary

Compare Python list, tuple, set, and dictionary with examples. Learn the differences in order, mutability, duplicates, indexing, syntax, use cases, and when to use each data type.

Deepak Prasad8 min read
programming

Python List extend() Method

Learn Python list extend() method with examples. Add items from another list, tuple, set, string, or dictionary, and understand extend() vs append(), +, and +=.

Deepak Prasad6 min read
programming

Python While Loop Examples

Learn Python while loop with simple examples, including syntax, counter loops, user input, break, continue, while else, nested while loops, and multiple conditions.

Deepak Prasad8 min read
programming

Python len() Function

Learn Python len() function with simple examples. Get the length of strings, lists, tuples, dictionaries, sets, ranges, and custom objects, and fix common TypeError mistakes.

Deepak Prasad6 min read
programming

Python One Line If Else

Learn how to write Python if else in one line using the conditional expression syntax. Includes one-line if, if else, if elif else, nested conditions, and common mistakes.

Deepak Prasad7 min read
programming

Python Function Examples

Learn Python functions with simple examples, including def syntax, calling a function, parameters, return values, default arguments, keyword arguments, *args, **kwargs, and common mistakes.

Deepak Prasad7 min read
programming

Python for Loop

Learn Python for loop syntax with simple examples using lists, strings, range(), dictionaries, nested loops, break, continue, pass, and for else.

Deepak Prasad5 min read
programming

Python YAML to Dictionary

Learn how to read a YAML file into a Python dictionary using PyYAML safe_load(), access nested YAML values, load multiple YAML documents, handle errors, and convert dict back to YAML.

Deepak Prasad6 min read
programming

Python Concatenate Lists

Learn how to concatenate, combine, and merge lists in Python using the + operator, extend(), +=, unpacking, itertools.chain(), and list comprehension, with examples and common mistakes.

Deepak Prasad8 min read
programming

Python Copy String

Learn how to copy a string in Python, why assignment is usually enough for immutable strings, and when slicing, str(), copy.copy(), or deepcopy() are unnecessary.

Deepak Prasad7 min read
programming

Cobalt Python Library for Akoma Ntoso XML

Learn how to use the Cobalt Python library to work with Akoma Ntoso XML documents, metadata, FRBR URIs, Act documents, validation, and document parsing.

Deepak Prasad8 min read
programming

Python Concatenate Strings: +, f-strings, join, and +=

Learn how to concatenate strings in Python with +, f-strings, str.join, +=, spaces, mixing variables and numbers, performance in loops, mistakes, and a quick reference table.

Deepak Prasad5 min read
programming

Python Copy List: Assignment, copy.copy(), and deepcopy()

Learn how to copy or clone a Python list using assignment, shallow copy.copy(), list slicing, list.copy(), and copy.deepcopy(), with examples that show when nested objects are shared or independent.

Deepak Prasad7 min read
programming

Global Variables in Python: global, local, nonlocal, and modules

Learn Python global vs local variables, when to use the global and nonlocal keywords, reading and writing globals from functions, mutables, modules, common mistakes, and a quick reference table.

Deepak Prasad6 min read
programming

Fix Unknown Time Zone Error in Google Calendar API

Fix Google Calendar API unknown time zone errors by using IANA time zone names, RFC3339 date-time strings with offsets, and Python zoneinfo—avoid ambiguous abbreviations like IST or PST.

Deepak Prasad10 min read
programming

Python enumerate() Function

Learn Python enumerate() with simple for loop examples. Use enumerate() to get index and value while looping through lists, strings, tuples, dictionaries, and files.

Deepak Prasad6 min read
programming

Python Dictionary Explained

Learn Python dictionary with simple examples, including dictionary syntax, creating dictionaries, accessing values, adding and updating items, looping, checking keys, removing items, and common dictionary methods.

Deepak Prasad7 min read
programming

Python Enum

Learn Python Enum with simple examples, including enum class syntax, name and value, iteration, auto(), IntEnum, StrEnum, enum methods, multiple attributes, and common mistakes.

Deepak Prasad7 min read
programming

Python Break Statement: for, while, Nested Loops, and else

Learn the Python break statement to exit for and while loops early, how break behaves in nested loops, how it interacts with loop else, break vs continue, and common mistakes.

Deepak Prasad8 min read
programming

Python Extend Dictionary

Learn how to extend a dictionary in Python using update(), the |= operator, the | merge operator, and dictionary unpacking. Also learn why dict has no extend() method like list.

Deepak Prasad6 min read
programming

Python Logging

Learn Python logging with simple examples. Configure logging using basicConfig(), log to console and file, use log levels, create loggers, handlers, formatters, and avoid common mistakes.

Deepak Prasad8 min read
programming

Python datetime Module

Learn Python datetime module with examples for date, time, datetime, now(), strftime(), strptime(), ctime(), timestamps, timedelta, and time zones using zoneinfo.

Deepak Prasad9 min read
programming

Python dataclass

Learn Python dataclass with simple examples, including @dataclass, default values, field(default_factory), frozen dataclasses, ordering, __post_init__, asdict(), and common mistakes.

Deepak Prasad10 min read