> For the complete documentation index, see [llms.txt](https://epic-oreo.gitbook.io/cookie-utils/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://epic-oreo.gitbook.io/cookie-utils/usage/clearing.md).

# Clearing

You can easily clear the console using a script like

```python
from cookieutils import clear

print("Hello")
clear.oscls()
print("Hello 2")
```

it will output

```
Hello 2
```

there are 2 ways of clearing the console

| function | description                                                                               |
| -------- | ----------------------------------------------------------------------------------------- |
| oscls    | this clears the terminal using the build in command like "cls" or "clear"                 |
| pcls     | this prints out text that will clear the terminal. it works better for things like replit |
