---
title: "Python The Basics"
author: "fairy_xzc"
date: "2013-04-15T11:21:53Z"
tags: []
categories: ["编程语言"]
slug: "python-the-basics"
draft: false
lastmod: "2013-04-15T14:02:12Z"
id: 1847471
url: "https://agilestyle.iteye.com/blog/1847471"
---

**Hello World、数字、表达式**  
![](http://dl.iteye.com/upload/attachment/0083/1630/f19b8b7a-3277-340d-83cc-6e6b43c822c4.png)  
![](http://dl.iteye.com/upload/attachment/0083/1634/384b848a-18ee-36ed-8694-812f36ac9ca9.png)  
![](http://dl.iteye.com/upload/attachment/0083/1632/2243a9d7-4e03-3a9e-a39d-c3e4e917a9e5.png)  
   
**变量、语句、获取用户输入、函数、模块**

![](http://dl.iteye.com/upload/attachment/0083/1646/c8dc8ad2-774a-36b9-b196-368dafedc719.png)  
![](http://dl.iteye.com/upload/attachment/0083/1648/d19fd615-70eb-3ce2-b2a3-c21b96d75002.png)  
    
**字符串**

![](http://dl.iteye.com/upload/attachment/0083/1709/c0cc55c6-1fee-34d8-8aa2-6956c4a72f95.png)  
![](http://dl.iteye.com/upload/attachment/0083/1711/d09a6f0e-87ba-3c72-9aaf-265f04a663bb.png)  
 

**input和raw\_input的比较**

![](http://dl.iteye.com/upload/attachment/0083/1719/35ebec55-438f-358b-b099-829bc2dbfb0c.png)  
 

**dir()和help()**  
![](http://dl.iteye.com/upload/attachment/0083/1716/976bc65b-3c77-353f-9755-bead02958879.png)  
 

## **Summary**

![](http://dl.iteye.com/upload/attachment/0083/1721/c2ee5ca6-b79e-3b5c-8702-2a0aa2623e45.png)