# Importing Python Modules

You can import any\* python module and/or package into your Ask app. This is because Ask transpiles to Python. You can both import local .py files or modules & packages from the PyPI.

*`* = As long as it's name doesn't conflict with any built-in Ask functions/classes, you have it installed (if it's from the PyPI), and it's compatible with your Python version.`*

## How To

You can import Python modules in the exact same way as you would in Python.

```python
import module
from package import module
import module as name
from package import *

# etc.
```

You can then access the module's/package's functions and other properties with: `[module/package name].[function/property/class/etc.]`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ask.edvard.dev/modules-and-libraries/importing-python-modules.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
