输入和输出用print()在括号中加上字符串,就可以向屏幕输出指定的字符eg:>>>print(‘hello,world‘)print()函数也可以接受多个字符串,字符串之间用“,”逗号隔开eg:>>>print(‘Thequickbrownfox‘,‘jumpsover‘,‘thelazydog‘)
Thequickbrownfoxjumpsoverthelazy..
分类:
编程语言 时间:
2016-03-19 06:36:52
阅读次数:
287
经过无数的百度,花了一天的时间,艰难的把django项目给部署到了Ubuntu15.04上。废话少说了,直接贴上部署步骤: 一、python安装 1、www.python.org下载 如下载的为 Python-3.4.3.tar.xz 2、解压: root@ubuntu:/home/dodo/Dow
分类:
数据库 时间:
2016-03-18 23:19:53
阅读次数:
625
str1 = "GooGle"str2 = "baidu"#print("Google的类型是 %s \n" % type(str1)) #Google的类型是 <class 'str'>#print("Google的方法有 %s" % dir(str1))"""下面是 字符串对象 可以使用的方法[
分类:
编程语言 时间:
2016-03-18 16:09:42
阅读次数:
198
python 2.x使用MySQL-python python3.x使用pymysql
分类:
数据库 时间:
2016-03-18 11:59:15
阅读次数:
217
检测python3.5是否安装成功 因为python3.5自带pip,setuptools
分类:
编程语言 时间:
2016-03-17 21:38:32
阅读次数:
593
Python 操作 Mysql 模块的安装python3.5的mysql模块为pymysql12345linux: yum install MySQL-python window: http://files.cnblogs.com/files/wupeiqi/py-mysql-win.zipSQL基...
分类:
数据库 时间:
2016-03-17 19:27:48
阅读次数:
275
之前在python3.3.5的环境下一直无法找到匹配的wxPython版本,只能再装了一个python2.7,后面在2.7的环境下重新安装了robotframework和ride,结果还是无法启动ride,在编译环境下打入‘from robotide import main’ 提示 Wrong wx
分类:
其他好文 时间:
2016-03-17 10:48:41
阅读次数:
627
--建了一张表 if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Bas_DateTime]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)drop table [d
分类:
数据库 时间:
2016-03-16 17:18:46
阅读次数:
656
datetime 虽然和mysql很相像,但是日期类型和mysql是不一样的.和sqlserver差不多. 如YYYY-MM-DD hh:mi:ss.fff or mm/dd/yyyy hh:mi:ss.fff 当然 还有短日期类型date 2012-10-29 这种
分类:
其他好文 时间:
2016-03-16 15:18:58
阅读次数:
104