第一节 Python基础
来源:互联网 发布:微博登陆不了网络异常 编辑:程序博客网 时间:2024/05/18 01:30
执行Python程序
- 2.x
print "Hello, World!"
- 3.x
print("Hello, World!")
- 将以上代码保存在hello.py文件中并使用python命令执行该脚本文件
python hello.py
运行结果:
Hello, World!
查看Python版本
- 使用命令查看Python版本
python -V
运行结果:
Python 2.7.12
- 进入Python交互式编程模式查看版本
python
运行结果:
Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:19:22) [MSC v.1500 32 bit ( Intel)] on win32Type “help”, “copyright”, “credits” or “license” for more information.
0 0
- 第一节 Python基础
- python基础第一节
- python第一节
- Python 第一节
- python 第一节
- 第一节:Python的基础—基本的数据类型
- java基础第一节
- html5基础视频教程第一节
- jmv第一节-jvm基础
- Java基础篇第一节
- Python学习,第一节
- 第一节:安装Python
- Python函数第一节
- python 初探 第一节
- Python入门第一节
- python自动化运维 第1章系统基础信息详解 第一节
- 033课程 第一节 基础类
- mongodb教程 第一节 基础入门
- Winform 拖拽控件
- tomcat连接池,显示数据库内容到jsp
- UVA 11401 Triangle Counting
- There are no resources that can be added or removed from the server.
- Activity的生命周期
- 第一节 Python基础
- JDBC之读取数据库
- form属性
- UVALive 5963 Confusion in the Problem Set 思维题、Interesting
- Android-BroadCastReceive广播小练习
- 1 数据校验
- 符号的魅力
- JDBC之CLOB与BLOB
- pat 1104. Sum of Number Segments