---
title: "hello python & why"
author: "uniquejava"
date: "2012-04-09T14:00:52Z"
tags: ["Python"]
categories: ["编程语言"]
slug: "hello-python-why"
draft: false
lastmod: "2012-04-14T15:45:28Z"
id: 1480299
url: "https://uniquejava.iteye.com/blog/1480299"
---

a byte of python：

[http://www.swaroopch.org/notes/Python](http://www.swaroopch.org/notes/Python)

 

learning python：

[http://www.ppurl.com/2009/12/learning-python-3rd-edition.html](http://www.ppurl.com/2009/12/learning-python-3rd-edition.html)

 

wxPython in Action：the same as above

 

wxPython Chinese Edition：

[http://ishare.iask.sina.com.cn/f/20466924.html](http://ishare.iask.sina.com.cn/f/20466924.html)

 

why learn.

bcz it is fun, i want to find some fun. i  want to have the feeling of get things done quickly and painlessly!

I cannot put up with the cubersomeness and slow of the RSA. the RCP..and all the Java based GUI app

 

hello

install python2.7.2 to D:\\Python27, add  to System Path(no /bin)

mkdir d:\\workspaces\\python

1.open gvim, cd to my working directory

:cd d:\\workspaces\\python

 

2.create a new file: hello.py

:o hello.py

 

3.write code  
![](http://dl.iteye.com/upload/attachment/0066/2742/975af4dc-63fa-3d82-921c-b9d15c53b1c1.jpg)

 

4.run  
![](http://dl.iteye.com/upload/attachment/0066/2744/46c7103e-e600-35fc-9cbe-137006524bc1.jpg)