import os

file_path = "ZWT/ZWT - WordWeb Pro 5 kg.xm"
directory_path = os.path.dirname(file_path)

print(directory_path) # Outputs: ZWT
