问题:[root@cddserver2 ~]# yum -y install gcc-*Loaded plugins: fastestmirror, prestoCould not retrieve mirrorlist http://mirrorlist.centos.org/?release=6 ...
分类:
系统相关 时间:
2019-04-03 09:35:41
阅读次数:
209
首先安装pysmb模块 下载文件 上传文件 f = open('D:/test2.txt','r') samba.storeFile('data','/test3.txt',f) f.close() 有了上面的说明,举一反三,像对文件夹的操作也就明白了。 ...
分类:
Web程序 时间:
2019-03-14 16:37:03
阅读次数:
305
回顾 bs4 实例化bs对象,将页面源码数据加载到该对象中 定位标签:find('name',class_='xxx') findall() select() 将标签中的文本内容获取 string text get_text() a['href'] xpath 环境安装: pip install l ...
分类:
其他好文 时间:
2019-02-27 22:05:44
阅读次数:
242
1 详细错误 2 原因,因为我配置的是本地库,所以自然连不了,检查状态是启动的状态 ...
分类:
其他好文 时间:
2019-02-26 00:58:58
阅读次数:
2206
1.脚本 2.调用 [root@localhost tmp]# python geturl_test.py 20190220 ...
分类:
其他好文 时间:
2019-02-25 15:02:17
阅读次数:
200
在青云上创建centos 6.4后,习惯性的安装emacs. 结果遇到报错信息: # yum install emacs Loaded plugins: fastestmirror Determining fastest mirrors Error: Cannot retrieve metalink ...
分类:
其他好文 时间:
2019-01-25 20:25:03
阅读次数:
152
终端有很多快捷键,不太好记,常用的在这里 Ctrl+r 实现快速检索使用过的历史命令。Ctrl+r中r是retrieve中r。Ctrl+a:光标回到命令行首。 (a:ahead)Ctrl+e:光标回到命令行尾。 (e:end) ctrl+w: 移除光标前的一个单词 Ctrl+k:删除光标处到行尾的字 ...
分类:
系统相关 时间:
2019-01-25 11:35:58
阅读次数:
214
六 memory&chosen节点 根节点那一节我们说过,最简单的设备树也必须包含cpus节点和memory节点。memory节点用来描述硬件内存布局的。如果有多块内存,既可以通过多个memory节点表示,也可以通过一个memory节点的reg属性的多个元素支持。举一个例子,假如某个64位的系统有两 ...
分类:
系统相关 时间:
2019-01-15 14:15:16
阅读次数:
250
Get started with apollo server with node.js: Install: index.js: ...
分类:
其他好文 时间:
2019-01-11 17:11:55
阅读次数:
204