随笔分类 -  Python开发

Python学习遇到的问题
摘要:# coding=utf-8import oscurrentPath = os.getcwd() # 当前目录parent_path = os.path.dirname(currentPath) #将当前目录传入得到当前目录的父目录print(parent_path) 阅读全文
posted @ 2015-09-06 11:57 3H 阅读(2603) 评论(0) 推荐(0)
摘要:安装教程:http://blog.csdn.net/mlj1668956679/article/details/38643145按照上面教程中。下载了get-pip.py.后一运行出现这个问题asciicodeccan'tdecodebyte0xe8inposit解决方法:像图片那样加入下面三句话i... 阅读全文
posted @ 2015-06-15 17:57 3H 阅读(528) 评论(0) 推荐(0)
摘要:#-*- coding:utf-8 -*-import logging# 配置日志信息logging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(name)-12s %(levelname)-8s... 阅读全文
posted @ 2015-03-06 00:50 3H 阅读(2570) 评论(0) 推荐(0)