mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
8 lines
221 B
Python
8 lines
221 B
Python
from __future__ import absolute_import, division, print_function, unicode_literals
|
|
|
|
import os
|
|
|
|
def normalize(f):
|
|
f = os.path.join(*f.split('/')) # For Windows users.
|
|
return os.path.abspath(os.path.expanduser(f))
|