yaml 另一种标记语言
import yaml
import os
root_path = os.path.abspath(os.path.dirname(__file__)).replace('\\', '/')
print 'root_path: ' + root_path
config_file = os.path.abspath(os.path.join(root_path, 'test.yml')).replace('\\', '/')
print 'config_file: ' + config_file
file_path = os.path.abspath(os.path.realpath(__file__)).replace('\\', '/')
print 'file_path: ' + file_path
app_name_1 = os.path.split(file_path)
app_name_2 = os.path.splitext(file_path)
print app_