Skip to content

Instantly share code, notes, and snippets.

@Lewuathe
Created January 23, 2013 12:48
Show Gist options
  • Select an option

  • Save Lewuathe/4605175 to your computer and use it in GitHub Desktop.

Select an option

Save Lewuathe/4605175 to your computer and use it in GitHub Desktop.
configファイルの作り方 ref: http://qiita.com/items/e817658ad29c210a10af
config = {
"A":"a",
"B":"b",
"C":"c"
}
config = '¥n'.join(map('='.join, config.iteritems())
# config= "A=a¥nB=b¥nC=c"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment