码迷,mamicode.com
首页 >  
搜索关键字:syntax    ( 2205个结果
执行shell脚本遇到错误syntax error: unexpected "then" (expecting "}")
今天执行脚本的时候遇到错误,如下图:root@ApFree:/usr/sbin# ./conntrack_num_graph.sh ./conntrack_num_graph.sh: line 9: syntax error: unexpected "then" (expecting "}")roo...
分类:其他好文   时间:2014-07-18 12:04:31    阅读次数:554
安装SQL Servre2000时提示“command line option syntax error! type command /? for help”
问题:当程序正在安装ms数据访问组件时,弹出错误提示框:command line option syntax error,type command/? for help,点击确定继续;到了程序正在安装HTML帮助时,弹出标题为html help 1.32 update错误提示框:command li...
分类:数据库   时间:2014-07-17 00:09:02    阅读次数:354
【scrapy】基础知识
ItemsItem objects are simple containers used to collect the scraped data.They provide a dictionary-like api with a convenient syntax for declaring the...
分类:其他好文   时间:2014-07-16 22:48:37    阅读次数:186
安装MySQL-python报错error: command 'gcc' failed with exit status 1
[root@vmoffice-7MySQL-python-1.2.3]#pythonsetup.pyinstallfunction)...._mysql.c:133:error:‘ER_SYNTAX_ERROR’undeclared(firstuseinthisfunction)_mysql.c:380:error:‘_mysql_ConnectionObject’hasnomembernamed‘connection’_mysql.c:382:warning:implicitdeclaratio..
分类:数据库   时间:2014-07-16 16:40:35    阅读次数:377
Traversing a list
The most common way to traverse the elements of a list is with a for loop. The syntax is the same as for strings: This works well if you onl...
分类:其他好文   时间:2014-07-13 19:38:51    阅读次数:324
设置secureCRT中vim的字体颜色
1、在/etc/vimrc新增以下一行 syntax on 注:上述方法对root用户无效,原因为在一般用户中,alias vi=vim,而在root用户中默认无此设置,因此若需要root用户也显示颜色,可以(1)用vim命令编辑文件(2)在~/.bashrc中添加alias vi=vim。 2、设置secureCRT属性。...
分类:其他好文   时间:2014-07-13 16:37:57    阅读次数:182
MySQL入门-11:数据的增、删、改
1、数据插入2、数据更新3、数据删除4、更新和删除的指导原则1、数据插入-INSERT插入数据可以使用以下几种方式:插入完整的行插入行的一部分插入多行插入某些查询的结果Syntax: INSERT[LOW_PRIORITY|DELAYED|HIGH_PRIORITY][IGNORE] [INTO]tbl_name[(col_name,...)] {VALUES|VAL..
分类:数据库   时间:2014-07-13 14:35:05    阅读次数:328
Lists are mutable
The syntax for accessing the elements of a list is the same as for accessing the characters of a string – the bracket operator ([ ]). The expression i...
分类:其他好文   时间:2014-07-11 08:55:10    阅读次数:174
Vim ---- 简单好用的 vim 配置文件,不用插件
set hlsearch set backspace=2 set ruler set showmode set nu set bg=dark syntax on set shiftwidth=2 set tabstop=4 set softtabstop=2 set expandtab set autoindent set smartindent...
分类:其他好文   时间:2014-07-10 23:23:27    阅读次数:230
【OC语法快览】五、设计类接口
Designing a Class Interface        设计类接口 The Objective-C syntax for creating a class is very simple. It typically comes in two parts.  创建类的语法是很简单的,通常包括两部分。 The class interface is u...
分类:其他好文   时间:2014-07-08 16:24:27    阅读次数:168
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!