File(文件) 方法 file 对象使用 open 函数来创建 读文件 要以读文件的模式打开一个文件对象,需要使用python内置的open()函数。 由于文件读写时都有可能产生IOError,一旦出错,后面的f.close()就不会调用 用readline()可以每次读取一行内容,调用readl ...
分类:
编程语言 时间:
2018-09-26 13:54:25
阅读次数:
185
zrj@zrj:/etc/nginx/sites-available$cat~/.ssh/configHostgitlab.yundoukuaiji.comIdentityFile~/.ssh/id_rsaUserzhangrenjieport10122Hostgitlab.jiayunhui.comIdentityFile~/.ssh/id_rsaUserzhangrenjieport10122
分类:
其他好文 时间:
2018-09-21 18:26:59
阅读次数:
413
前台 <ext:ComboBox ID="cmbYear" runat="server"/> .aspx.cs int year = DateTime.Now.Year + 4; while (year >= 2012) { cmbYear.Items.Add(new Coolite.Ext.Web ...
分类:
数据库 时间:
2018-09-20 01:07:44
阅读次数:
226
1.insert insert into <表名>(字段名) values (值) 例: create table test ( id int(4) not null auto_increment, name char(20) not null, primary key(id) ) ; 1)按列名插 ...
分类:
数据库 时间:
2018-09-16 12:32:28
阅读次数:
179
E - New Year Domino 思路:我用倍增写哒,离线可以不用倍增。 ...
分类:
其他好文 时间:
2018-09-12 01:22:13
阅读次数:
198
一, 理论知识学习部分 1.标识符:标识符由字母、下划线、美元符号和数字组成,且第一个符号不能为数字。Hello、$1234、程序名、www_123都是合法标识符。 可用作:类名,变量名,方法名,数组名,文件名。 2.注释:当长片需要注释时可在每行前加一个//。 /*注释以开始,*/结束。 3.数据 ...
分类:
其他好文 时间:
2018-09-09 16:52:11
阅读次数:
171
Windows下安装MySQL详细教程 1、安装包下载 2、安装教程 (1)配置环境变量 (2)生成data文件 (3)安装MySQL (4)启动服务 (5)登录MySQL (6)查询用户密码 (7)设置修改用户密码 (8)退出 1、安装包下载。 下载地址:https://dev.mysql.com ...
分类:
数据库 时间:
2018-09-09 16:02:56
阅读次数:
174
while循环 aa = 100 bb = 0 cc = 1 while cc >>")) print("你输入的数字是>>>",b) print("good bye!") while 循环使用else语句 count = 0 while count >>",wo) a = 100 while a ... ...
分类:
其他好文 时间:
2018-08-27 12:34:42
阅读次数:
133