随笔分类 - Python开发
Python学习遇到的问题
摘要:# coding=utf-8import oscurrentPath = os.getcwd() # 当前目录parent_path = os.path.dirname(currentPath) #将当前目录传入得到当前目录的父目录print(parent_path)
阅读全文
摘要:安装教程:http://blog.csdn.net/mlj1668956679/article/details/38643145按照上面教程中。下载了get-pip.py.后一运行出现这个问题asciicodeccan'tdecodebyte0xe8inposit解决方法:像图片那样加入下面三句话i...
阅读全文
摘要:#-*- coding:utf-8 -*-import logging# 配置日志信息logging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(name)-12s %(levelname)-8s...
阅读全文
浙公网安备 33010602011771号