当使用中文时会报错: 其解决方法是:在文件前面加入 其实不止在Django,在python文件中开头为了支持中文我们都应该加上 在初学时一直使用,只不过后来慢慢忘了,那时候使用的是: 当然,这两个都是可以使用的 ...
分类:
编程语言 时间:
2018-03-25 01:23:09
阅读次数:
181
以下代码演示function, filter, projection的使用,可结合注释 省略部分代码,省略部分可参考:https://blog.csdn.net/nickta/article/details/79666918 输出: <Sat Mar 24 13:41:42 CST 2018[par ...
分类:
其他好文 时间:
2018-03-24 14:32:49
阅读次数:
177
https://blog.csdn.net/qq_30100043/article/details/53005478 ...
分类:
Web程序 时间:
2018-03-23 18:53:40
阅读次数:
231
```go
package main import ( "fmt"
) func main() { var name string fmt.Println("What is your name?") fmt.Scanf("%s\n", &name) var age int fmt.Println("... ...
分类:
其他好文 时间:
2018-03-22 01:38:09
阅读次数:
164
(1) addr='http://news.gzcc.cn/html/2017/xiaoyuanxinwen_1027/8443.html'print(addr[-14:-5]) (2) addr1='https://docs.python.org/3/library/'addr2='turtle' ...
分类:
其他好文 时间:
2018-03-21 21:10:39
阅读次数:
165
一、字符串练习: 1.http://news.gzcc.cn/html/2017/xiaoyuanxinwen_1027/8443.html 取得校园新闻的编号 2.https://docs.python.org/3/library/turtle.html 产生python文档的网址 3.http: ...
分类:
其他好文 时间:
2018-03-21 21:08:21
阅读次数:
206
转载: https://www.oschina.net/news/77354/http-get-post-different https://www.cnblogs.com/wswang/p/6054619.html GET和POST是HTTP协议中的两种发送请求的方法。 HTTP是基于TCP/IP ...
分类:
其他好文 时间:
2018-03-21 21:07:11
阅读次数:
115
1.字符串练习: http://news.gzcc.cn/html/2017/xiaoyuanxinwen_1027/8443.html 取得校园新闻的编号 https://docs.python.org/3/library/turtle.html 产生python文档的网址 http://news ...
分类:
其他好文 时间:
2018-03-21 17:27:56
阅读次数:
158
http://news.gzcc.cn/html/2017/xiaoyuanxinwen_1027/8443.html 取得校园新闻的编号 >>> s="http://news.gzcc.cn/html/2017/xiaoyuanxinwen_1027/8443.html">>> s[45:54]' ...
分类:
其他好文 时间:
2018-03-21 16:30:41
阅读次数:
185
如在上篇文章《ETL调优的一些分享(上)》中已介绍的,ETL是构建数据仓库的必经一环,它的执行性能对于数据仓库构建性能有重要意义,因此对它进行有效的调优将十分重要。ETL业务的调优可以从若干思路开展,上文我们已经介绍了其中三点,本文我们将再分享如下几点建议。 减少不必要的事务表的使用 减少事务性操作 ...
分类:
其他好文 时间:
2018-03-21 11:46:20
阅读次数:
205