Skip to content

Instantly share code, notes, and snippets.

@timonwong
Created April 3, 2013 08:09
Show Gist options
  • Save timonwong/5299358 to your computer and use it in GitHub Desktop.
Save timonwong/5299358 to your computer and use it in GitHub Desktop.
#! /usr/bin/env python
# -*- coding: utf-8 -*-
"""
name.txt
O Efeito do Verão.mp3
"""
name = open('name.txt').read().strip()
with open(name.decode('utf-8'), 'w') as f:
f.write("正文如下:abcdefVero")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment