would it be possible that a program compiled for native windows could
find out what path separator is best used for input/output to the
terminal? if one runs python out of cmd.exe, its backslash \, if one
runs it out of bash its forward slash / ?
because http://docs.python.org/library/os.path.html does currently not
take into account if python.exe is run out of msys bash.