---
title: "Help() and dir()"  
description: "Help() and dir()"  
author: "Anonymous User"  
published: 2018-06-18  
updated: 2018-06-19  
canonical: https://www.mindstick.com/forum/34523/help-and-dir  
category: "python"  
tags: ["python", "functional programming"]  
reading_time: 1 minute  

---

# Help() and dir()

What is the [usage](https://www.mindstick.com/forum/155707/what-is-the-usage-of-asp-dot-net-configuration-file) of help() and dir() [function](https://www.mindstick.com/articles/13001/multi-statement-table-valued-user-defined-function-in-sql-server) in [Python](https://www.mindstick.com/articles/75378/simple-yet-useful-tips-when-using-python)? example please ...

## Replies

### Reply by Prakash nidhi Verma

**Help() function**:

it's used to display the documentation string and also help in modules, keywords, attributes, and you use a return as a method,attributes.

Example :

```
my_list = [] help(my_list.append)
```

**dir() function:** \

The dir() function is used to display the defined symbols and as a arguments for currents local namespace for a local keys.

Ex :

```
my_list = [] print(dir(my_list))
```

\


---

Original Source: https://www.mindstick.com/forum/34523/help-and-dir

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
