码迷,mamicode.com
首页 >  
搜索关键字:recent    ( 1003个结果)
PYTHON 文件操作
python基础-文件操作 一、文件操作 打开文件时,需要指定文件路径和以何等方式打开文件,打开后,即可获取该文件句柄,日后通过此文件句柄对该文件操作。 打开文件的模式有: r ,只读模式【默认模式,文件必须存在,不存在则抛出异常】 w,只写模式【不可读;不存在则创建;存在则清空内容】 x, 只写模 ...
分类:编程语言   时间:2018-06-20 11:17:53    阅读次数:221
Netweaver和CloudFoundry的服务器日志
Netweaver 事务码SMICM,Goto HTTP Plug In Server Logs: CloudFoundry 假设我部署本地应用到CloudFoundry之后,应用的状态变为CRASHED。然而从应用的控制台看不出太多有用的信息。 此时可以使用命令cf logs recent来查看服 ...
分类:Web程序   时间:2018-06-16 21:49:54    阅读次数:239
求树上任意一点所能到达的最远距离 - 树上dp
A school bought the first computer some time ago(so this computer's id is 1). During the recent years the school bought N-1 new computers. Each new co ...
分类:其他好文   时间:2018-06-15 20:56:33    阅读次数:185
ansible报错记录
ansible报错: The full traceback is:Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/ansible-2.5.4-py2.7.egg/ansible/executor/ta ...
分类:其他好文   时间:2018-06-15 18:22:34    阅读次数:2080
(转)输入pipt提示:AttributeError: 'module' object has no attribute 'HTTPSConnection'
文章转自:http://write.blog.csdn.net/postedit/51725016 1.测试 [root@s011805161450 ~]# python Python 2.7.8 (default, Jun 17 2016, 01:25:39) [GCC 4.4.7 2012031 ...
分类:Web程序   时间:2018-06-14 22:15:14    阅读次数:868
python中自动化测试框架unittest
logincloseloginclose FailureTraceback (most recent call last): File "D:\PyCharm\learnPy\unnitest\test.py", line 11, in test_02 self.assertEqual(2,3)As ...
分类:编程语言   时间:2018-06-14 14:32:54    阅读次数:155
序列的+、+=、extend、append理解
列表 + 元组: 列表 += 元组: 原因:‘ += ’是调用 iadd()函数,然后调用extend函数,extend函数会遍历序列元素再依次加入: append()始终将加入的元素作为整体加入: ...
分类:移动开发   时间:2018-06-13 18:08:20    阅读次数:178
pip 安装使用 ImportError: No module named setuptools
安装过程详见这篇博客:http://blog.51cto.com/sf1314/2112533 安装后运行到:python setup.py install出现错误,错误图片如下所示:[root@localhost pip-1.5.4]# python setup.py install Traceback (most recent call last): File “
分类:其他好文   时间:2018-06-13 16:35:03    阅读次数:260
Dropbox Interview – Design Hit Counter
Dropbox Interview – Design Hit Counter It starts with a simple question – if you are building a website, how do you count the number of visitors for t ...
分类:其他好文   时间:2018-06-13 15:15:15    阅读次数:182
linux(乌班图)下执行pip没有问题,执行sudo pip报错的问题
最近刚装好linux的虚拟机,在装一个套件时提示权限不足,于是添加上了 sudo 命令,结果直接报以下错误, Traceback (most recent call last): File "/usr/bin/pip", line 9, in <module> from pip import mai ...
分类:系统相关   时间:2018-06-13 12:07:41    阅读次数:293
共1003条   上一页 1 ... 34 35 36 37 38 ... 101 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!