> For the complete documentation index, see [llms.txt](https://docs.arkannis.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.arkannis.net/programming/courses/python-pcap-31-03-course/modules-packages-and-oop/calling-python-code-that-is-saved-in-another-file.md).

# Calling Python Code that is Saved in Another File

## Calling Python Code that is Saved in Another File

```python
from <folder_name>.<filename> import <Class_name>
```

How this would look:

```python
from machines.vehicle_stuff import Vehicle
```
