Open in app

Sign In

Write

Sign In

Diane Khambu
Diane Khambu

87 Followers

Home

About

1 day ago

Regular Expression — Python-Part III

This is my final post on Regex series. Here are my part I and part II series. We’ll go over groupings, lookahead assertion and search and replace functions in regular expression. Let’s buckle up and dive in! Grouping Groups are marked by ( , ) metacharacters. They have the same meaning…

Regex In Python

6 min read

Regular Expression — Python-Part III
Regular Expression — Python-Part III
Regex In Python

6 min read


Published in Towards Dev

·6 days ago

Regular Expression — Python — Part II

I wrote about Python’s re package which allows us to compile regular expressions into objects and perform matches in the part I of the Regular Expression series. Here, we’ll dive into compilation flags and more pattern powers. Let’s see examples of each of the flags: import re >>> p…

Regular Expressions

3 min read

Regular Expression — Python — Part II
Regular Expression — Python — Part II
Regular Expressions

3 min read


Published in Python in Plain English

·Jan 1

Regular Expression— Python — Part I

It’s going to be the end of the year 2022 and I haven’t yet written any article for the month of December. So let’s give a look into Python’s re package’s special characters and interfaces to the Regular Expression RE engine: . (Dot) In default mode, matches any characters except…

Regular Expressions

5 min read

Regular Expression Operation — Python — Part I
Regular Expression Operation — Python — Part I
Regular Expressions

5 min read


Nov 14, 2022

Amdahl’s law and Gustafson’s law

Been learning more about parallel computing. Amdahl’s law and Gustafson’s law gives us way to evaluate increase in speed based on resources available. First let’s dive into Amdahl’s law. The ratio of how much of our problem is parallel and how much is sequential will dictate the limits of speed…

Parallel Computing

4 min read

Amdahl’s law and Gustafson’s law
Amdahl’s law and Gustafson’s law
Parallel Computing

4 min read


Nov 7, 2022

Global Interpreter Lock in Python

Global Interpreter Lock (GIL) is a feature of a Python language and something one must be aware about when trying to use more than one processor of a computer. GIL in a nutshell is a lock that lets only one thread to access Python interpreter at a time. In this…

Global Interpreter Lock

4 min read

Global Interpreter Lock in Python
Global Interpreter Lock in Python
Global Interpreter Lock

4 min read


Published in Nerd For Tech

·Oct 24, 2022

weakref module in Python

Been a while, two months and two weeks to be exact, since I wrote the last article. Without further ado, I am writing about weakref module in Python. Let’s dive in. The module allows Python programmer to create weak reference to objects. …

Weakreference

3 min read

weakref module in Python
weakref module in Python
Weakreference

3 min read


Published in Towards Dev

·Aug 8, 2022

Software Version Semantics

Labeling software versions had been a mystery till recently when I came across semantic versioning site while reading documentation on FastAPI. Before that the labels were given by a Release Engineer! The Semantic Versioning Specification has formal convention on determining version number of new software releases. Software using this Semantic…

Semantic Versioning

3 min read

Software Version Semantics
Software Version Semantics
Semantic Versioning

3 min read


Published in Geek Culture

·Jun 21, 2022

Modulo operator in Python

It’s been more than a month, I have not written new learnings. So here I am going to write about modulo operator in Python. Got stumbled by modulo operator for negative numbers. I had come across it once. So here I am listing how modulo operates. A quick primer on…

Modulo

3 min read

Modulo operator in Python
Modulo operator in Python
Modulo

3 min read


Published in Python in Plain English

·May 8, 2022

An Introduction to Dataclass Decorators in Python

Something new I came across while storing data stream to Python class is Dataclass! Let’s dive in. dataclass is a decorator imported from dataclasses module and generates special methods such as __init__ , __repr__ to user-defined classes. Let’s see an example: On running the file, we get: Generated special…

Dataclass

3 min read

Dataclass in Python
Dataclass in Python
Dataclass

3 min read


Apr 25, 2022

generators in __init__.py file — Python

If you have come across application directories in python, you must have seen directories converted to packages with __init__.py file. The basic function of the file is to initialize a directory just like in class where we use __init__ method to initialize a class. That was my understanding, until recently…

Initialization

4 min read

generators in __init__.py file — Python
generators in __init__.py file — Python
Initialization

4 min read

Diane Khambu

Diane Khambu

87 Followers

Software Engineer

Following
  • Adhithi Ravichandran

    Adhithi Ravichandran

  • Sunil Sandhu

    Sunil Sandhu

  • Eric Elliott

    Eric Elliott

  • MacKenzie Scott

    MacKenzie Scott

  • Towards Dev Editor

    Towards Dev Editor

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech