Skip to content

Instantly share code, notes, and snippets.

@sungmin-park
Created January 10, 2012 18:28
Show Gist options
  • Save sungmin-park/1590383 to your computer and use it in GitHub Desktop.
Save sungmin-park/1590383 to your computer and use it in GitHub Desktop.
import os
# os.sep는 각 운영체제별 경로 구분자가 지정되어 있습니다.
program_files_common_files = os.path.join(os.sep, 'Program Files', 'Common Files')
assert ('/Program Files/Common Files' if os.sep == '/' else '\\Program Files\\Common Files') == program_files_common_files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment