---
title: "Hemil Ruparel (@rahem027) | Hashnode"
description: "Would love to help you. Read the latest articles by Hemil Ruparel on Hashnode."
url: "https://hashnode.com/@rahem027"
---

@rahem027

# Hemil Ruparel

@rahem027 · Joined May 2019

Would love to help you

### [Why name spacing using filenames is broken?](https://rahem027.hashnode.dev/why-name-spacing-using-filenames-is-broken?utm_source=hashnode&utm_medium=feed)

Two other titles I debated between are "Why library code should always use absolute imports" and the click bait "How I broke python using two simple (innocent) lines of code" Here is the code: import logging logger = logging.getLogger(\_\_name\_\_) Not...

2 min read · [rahem027.hashnode.dev](https://rahem027.hashnode.dev/why-name-spacing-using-filenames-is-broken?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/why-name-spacing-using-filenames-is-broken/5f62242a456ff01582e81120) [Sep 16, 2020](https://hashnode.com/posts/why-name-spacing-using-filenames-is-broken/5f62242a456ff01582e81120)

### [Trailing commas in python](https://rahem027.hashnode.dev/trailing-commas-in-python?utm_source=hashnode&utm_medium=feed)

This has tripped me off way more than I would like. For those of you who don't know adding a comma makes a variable into tuple (Yes its not the C bracket) foo = 1, print(type(foo)) It prints: <class 'tuple'>

1 min read · [rahem027.hashnode.dev](https://rahem027.hashnode.dev/trailing-commas-in-python?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/trailing-commas-in-python/5f37e59dc4d5973f55c907a7) [Aug 15, 2020](https://hashnode.com/posts/trailing-commas-in-python/5f37e59dc4d5973f55c907a7)

### [When should default function arguments be evaluated?](https://rahem027.hashnode.dev/when-should-default-function-arguments-be-evaluated?utm_source=hashnode&utm_medium=feed)

I was writing my first app and I found a bug. The date time column in my database always had the same value. I found out that this value changed upon restarting the server. This was the problematic piece of code: def foo(param, now=datetime.now()):...

2 min read · [rahem027.hashnode.dev](https://rahem027.hashnode.dev/when-should-default-function-arguments-be-evaluated?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/when-should-default-function-arguments-be-evaluated/5f37e11d0801bf3f76e5f512) [Aug 15, 2020](https://hashnode.com/posts/when-should-default-function-arguments-be-evaluated/5f37e11d0801bf3f76e5f512)
