没有合适的资源?快使用搜索试试~ 我知道了~
python教程Python_course.ppt
4星 · 超过85%的资源 需积分: 16 11 下载量 34 浏览量
2010-05-07
17:56:44
上传
评论
收藏 583KB PPT 举报
温馨提示
Python_course.pptpython教程ppt
资源推荐
资源详情
资源评论
Learning Python
A course in programming
Per Kraulis
9, 10 and 15 March 2004
Course literature
•
Learning Python (Lutz & Ascher)
–
Tutorial
–
Covers Python 2.3
–
Should be read in sequence, but skip most of Part 1
–
Many useful points about sensible style
•
Python in a Nutshell (Martelli)
–
Quick reference
–
Covers Python 2.2
–
Useful for looking things up things; use the index
–
Companion to the on-line documentation
–
Should be read in sequence only by serious nerds
Python under Windows
•
Use IDLE to edit and run script files
•
Or, use emacs to edit and run script files (setup required)
•
Or, use the Python command line window (for interactive work)
•
Or, double-click an existing Python file to run it
–
However, if results print to 'standard out', then problematic
–
Use the ‘raw_input’ trick (ugly)
–
Not a problem if graphics output
Let’s use IDLE in this course
•
Graphical User Interface (GUI)
•
Interactive Development
Environment (IDE) for Python
•
Useful under Windows and Unix
•
Not required; use another editor
if you want to
•
Written in Python, using Tk
•
Named for Eric Idle, member of
Monty Python
IDLE startup message
Python 2.3.3 (#51, Dec 18 2003, 20:22:39) [MSC v.1200 32 bit (Intel)] on
win32
Type "copyright", "credits" or "license()" for more information.
****************************************************************
Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer's internal loopback
interface. This connection is not visible on any external
interface and no data is sent to or received from the Internet.
****************************************************************
IDLE 1.0.2
>>>
•
Version number shown
•
Interactive mode:
–
Awaits commands from the user
–
Commands must be valid Python code
–
Useful for tests and messing about
•
Try the commands:
–
copyright
–
credits
–
license()
剩余63页未读,继续阅读
资源评论
- L63692012-09-28不错,但是本人水平有限,非初学者慎用!
gu_oracle
- 粉丝: 6
- 资源: 184
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功