Re: OS specific path separator variable
"Lars Ivar Igesund" <[email protected]>
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Message-ID | <017301c3a2ff$6ac37360$0200000a@mesmer> |
----- Original Message ----- From: "Bram Moolenaar" <[email protected]> > In most situations a slash will work. Only when making a shell command > on MS-Windows you sometimes need to use a backslash, since the slash is > used for option flags. In those situations you mostly know a backslash > is required, thus you don't need a variable. Or is there a common > situation where you do need to use the system-dependend separator? > > You can use `os.sep`. Is it worth adding an Aap variable for this? No, that is good enough for me. Lars Ivar Igesund ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/