---
title: "#special-variable articles | Hashnode"
description: "Explore 1 articles tagged #special-variable on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/special-variable"
---

Tag

# #special-variable

1 posts · 0 followers

[Lim Woojae](https://hashnode.com/@jaylog) · [Dec 23, 2024](https://hashnode.com/posts/python-leveraging-name-for-efficient-python-module-organization/67696b69850657f26f185556)

### [\[Python\] Leveraging \_\_name\_\_ for Efficient Python Module Organization](https://jaylog.hashnode.dev/python-leveraging-name-for-efficient-python-module-organization?utm_source=hashnode&utm_medium=feed)

We can distinguish between running directly and importing as a module. When a Python file is executed directly, the interpreter sets the special variable \_\_

2 min read · [jaylog.hashnode.dev](https://jaylog.hashnode.dev/python-leveraging-name-for-efficient-python-module-organization?utm_source=hashnode&utm_medium=feed)
