---
title: "John Main (@pynerds) | Hashnode"
description: "Writer at www.pynerds.com. Read the latest articles by John Main on Hashnode."
url: "https://hashnode.com/@pynerds"
---

@pynerds

# John Main

@pynerds · Joined February 2024

Writer at www.pynerds.com

[Website](https://www.pynerds.com/)

### [name\_ variable in Python](https://blog.pynerds.com/name-variable-in-python?utm_source=hashnode&utm_medium=feed)

In this article we will explore the \_\_name\_\_ variable, its purpose and how we can use it to tell where a module or script is being executed from. You may have come along the \_\_name\_\_ variable when going through some code, scripts or modules. The fol...

4 min read · [blog.pynerds.com](https://blog.pynerds.com/name-variable-in-python?utm_source=hashnode&utm_medium=feed)

[Apr 7, 2024](https://hashnode.com/posts/name-variable-in-python/66129b362254e74c4be5a340)

### [\*args and \*\*kwargs in Python](https://blog.pynerds.com/args-and-kwargs-in-python?utm_source=hashnode&utm_medium=feed)

In this article you will learn how to use the single and double asterisk operators, to define functions that can take an arbitrary number of arguments. But before we dive on that, we first need to understand how arguments works in Python. There are ...

5 min read · [blog.pynerds.com](https://blog.pynerds.com/args-and-kwargs-in-python?utm_source=hashnode&utm_medium=feed)

[Mar 28, 2024](https://hashnode.com/posts/args-and-kwargs-in-python/6604bf2307c4e37e821530fb)

### [Understand List comprehension in Python](https://blog.pynerds.com/understand-list-comprehension-in-python?utm_source=hashnode&utm_medium=feed)

list comprehension in Python-original article List comprehension is a type of syntax for quickly and conveniently creating lists and other sequences from a collection of elements. The syntax combines the features of loops, conditional execution and s...

5 min read · [blog.pynerds.com](https://blog.pynerds.com/understand-list-comprehension-in-python?utm_source=hashnode&utm_medium=feed)

[Mar 28, 2024](https://hashnode.com/posts/understand-list-comprehension-in-python/6604ba80a83d89c79cd1b1d4)

### [How to use asyncio in Python](https://blog.pynerds.com/how-to-use-asyncio-in-python?utm_source=hashnode&utm_medium=feed)

asyncio is a  module  that provides tools for implementing asynchronous programming.

7 min read · [blog.pynerds.com](https://blog.pynerds.com/how-to-use-asyncio-in-python?utm_source=hashnode&utm_medium=feed)

[Mar 20, 2024](https://hashnode.com/posts/how-to-use-asyncio-in-python/65fb57b98fbc6062a0d91fe5)

### [Python functools module](https://blog.pynerds.com/python-functools-module?utm_source=hashnode&utm_medium=feed)

The functools module in the standard library  provides functions and classes for manipulating functions.

7 min read · [blog.pynerds.com](https://blog.pynerds.com/python-functools-module?utm_source=hashnode&utm_medium=feed)

[Mar 20, 2024](https://hashnode.com/posts/python-functools-module/65fb549a35c6ab4e344a1065)
