<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def histpath(self):
 """Returns the full path to the console history file."""

        from os import path
        from fortpy import settings
        return path.join(settings.cache_directory, "history")