python
来源:互联网 发布:什么样买卖数据 编辑:程序博客网 时间:2024/06/01 09:50
去python.org下载
python3切换
python进入命令行
代码块结束用 :表示
编程规范网址:www.python.org/dev/peps/pep-0008/
信条:www.python.org/dev/peps/pep-0020/
###########################
python使用内置模块
import引入
例如:调用数学计算的内置模块
>>> import math
>>> math sqrt(64) #=>求平方根
>>> 8.0
************************
help(math)=> 查看math方法里面有哪些方法可以直接使用
#help()
************************
python通过模块的形式组织项目
模块就是用import来引入的
阅读全文
0 0
- Python
- Python
- Python
- python
- Python
- PYTHON
- Python
- Python
- Python
- Python
- Python
- Python
- Python
- Python
- Python
- Python
- python
- Python
- EOJ 2006 孤独数
- Python牛刀小试
- LCD设备驱动框架分析(数据结构)
- 操作系统 ----- 进程管理与创建
- Git
- python
- 实现bitmap算法
- 什么是 MIME Type?
- 1.2 每一个对象都有一个接口
- 06_张孝祥_多线程_ThreadLocal类及应用技巧
- interrupte
- python代理ip抓取大众点评
- 标记语言Markdown介绍以及日常使用
- Kubernetes