-
auto
2019-08-17 09:30:40
python
3216°
20
买E1板的几天,无事可做,决定写个sip客户端玩,首选语言肯定是python了。说了半天只是做sip客户端的契机
-
auto
2019-08-17 09:30:40
python
2064°
20
转载 http://www.cnblogs.com/dabiao/archive/2010/03/07/1680096.html 一、int函数能够 ...
-
auto
2019-08-17 09:30:40
python
2071°
20
一个机器上可能同时会运行多个项目,不同的项目可能使用了不同版本的python。 在不同的python版本之间切换...
-
auto
2019-08-17 09:30:40
python
1751°
20
Python中使用lambda的话,写成这样 g = lambda x : x**2 print g(4) 二、lambda和普通的函数相比,就是省...
-
auto
2019-08-17 09:30:40
python
1796°
20
环境:centos7 + python3.6问题:pip install scrapy安装失败,提示缺少python.h。解决:按照网上方法安装...
-
auto
2019-08-17 09:30:40
python
1734°
20
2、tar zxvf MySQL-python-1.2.3.tar.gz 3、cd MySQL-python-1.2.3 4、python setup.py build
-
auto
2019-08-17 09:07:41
python
1951°
20
这篇文章主要介绍了用python读写excel的方法,涉及xlrd模块与xlwt模块的应用,具有一定的学习借鉴价值,需要的...
-
auto
2019-08-17 09:07:41
python
1932°
20
简介 本文主要介绍python数组循环语法。主要方式有元素遍历,索引遍历,enumerate, zip, list内部等。 普通...
-
auto
2019-08-17 09:07:41
python
2079°
20
python是一门完全支持面向对象分割
-
auto
2019-08-17 09:07:41
python
1918°
20
我在从web获取到json数据时,需要保存在本地文本文件中,这就需要json转换为string,使用缓存数据时,又...
-
auto
2019-08-17 09:07:41
python
2421°
20
python命令通常存在 /usr/bin/python和/usr/local/bin/python下面,一般是符号链接,优先使用后者, ...
-
auto
2019-08-17 09:07:41
python
2063°
20
在python3对列表的处理中,会经常使用到Python求两个list的差集、交集与并集的方法。 下面就以实例形式对此...
-
auto
2019-08-17 09:07:41
python
1960°
20
北京 | 高性能计算之GPU CUDA课程11月24-26日3天密集学习 快速带你晋级阅读全文> 作者,许胜利,Python...
-
auto
2019-08-17 09:07:41
python
1943°
20
Python学习笔记 --- python scp 免密操作
-
auto
2019-08-17 09:07:41
python
2008°
20
使用os.system函数运行其他程序或脚本 import os os.system('notepad python.txt') 使用ShellExecute函数...
-
auto
2019-08-17 09:07:41
python
1592°
20
这道题的意思是说
-
auto
2019-08-17 08:51:07
python
1627°
20
条件判断计算机之所以能做很多自动化的任务,因为它可以自己做条件判断。比如,输入用户年龄,根据年龄打印不同的内容,在Python程序中,用if语句实现:age=20ifage>=18:print('yourageis',age)print('adult')根据Python的缩进规则,如果if语句判断是True,就把缩进的两行print语句执行了,否则,什么也不做。也可以给if添加一个else语
-
auto
2019-08-17 08:51:07
python
1877°
20
List & Array
While scalar is single value, list is a list of scalars in order. Every element of a list is a dependant scalar, it can be number or characters.
Array is the variable of lis
-
auto
2019-08-17 08:51:07
python
2115°
20
在各大网站看到的 自己整理的
awk学习实例[root@localhostopt]#catgrade.txtM.Tansley05/9948311Green840&nbs
-
auto
2019-08-17 08:51:07
python
1890°
20
前面两个部分我们介绍了投票应用的框架和后台管理部分。接下来舍得要介绍这个应用面向用户的界面。 这里我们要引入一个新的概念,“视图”。在Django中,视图是一根连接模型和模板的纽带,它决定哪些数据要呈现给用户。 来看一下Django的这几个核心概念: 模型:负责和数据库打交道,把数据传入、传出给数据库; 模板:负责最终显示给用户的页面的显示方式; 视图:将模型和模板连接