#!/usr/bin/env python3
"""
Получить каталог из пути
"""
from os import path
pth = '/home/bubujka/ololo/hello.txt'
print(path.dirname(pth))


d838f44afd7ebd9e07993f27fb11821a3567fa51
<mask token>

<mask token>
print(path.dirname(pth))

<mask token>
pth = '/home/bubujka/ololo/hello.txt'
print(path.dirname(pth))

<mask token>
from os import path
pth = '/home/bubujka/ololo/hello.txt'
print(path.dirname(pth))

#!/usr/bin/env python3
"""
Получить каталог из пути
"""
from os import path
pth = '/home/bubujka/ololo/hello.txt'
print(path.dirname(pth))

