import os
def run_dir():
"""
Function for determining path module run in.
"""
full_dir_str = ''
for dir_str in os.path.realpath(__file__).split(os.path.sep)[:-1]:
full_dir_str = full_dir_str + dir_str + os.path.sep
return full_dir_str
print(run_dir())