wxPython/wxGlade-0.9.1/install/update-po.py
def unixpath(thePath) :
    r"""Return a path name that contains Unix separator.
 
    [Example]
    >>> unixpath(r"d:\test")
    'd:/test'
    >>> unixpath("d:/test/file.txt")
    'd:/test/file.txt'
    >>> 
    """
    thePath = os.path.normpath(thePath)
    if os.sep == '/':
        return thePath
    else:
        return thePath.replace(os.sep,'/')
r"""Return a path name that contains Unix separator.
 
    [Example]
    >>> unixpath(r"d:\test")
    'd:/test'
    >>> unixpath("d:/test/file.txt")
    'd:/test/file.txt'
    >>> 
    
r"""Return a path name that contains Unix separator.
r " " " Return a path name that contains Unix separator .
def unixpath(thePath) :
    thePath = os.path.normpath(thePath)
    if os.sep == '/':
        return thePath
    else:
        return thePath.replace(os.sep,'/')
def unixpath ( thePath ) : thePath = os . path . normpath ( thePath ) if os . sep == '/' : return thePath else : return thePath . replace ( os . sep , '/' )
r"""Return a path name that contains Unix separator.
r " " " Return a path name that contains Unix separator .
r"""Return a path name that contains Unix separator.
 
    [Example]
    >>> unixpath(r"d:\test")
    'd:/test'
    >>> unixpath("d:/test/file.txt")
    'd:/test/file.txt'
    >>> 
    """
thePath