Python dev tool introduction

Embed Size (px)

Citation preview

Python Development ToolsIntroductionCody Liu

Agenda

Eclipse & Pydev

Eclipse Plug-Ins : Eclipse Color Theme

Full screen

P4Eclipse

iPython & iPython Notebook

Install PyDev in a light way

1.Install PythonFor Windows Environemnt , ActivePython is recommended.

Useful Windows batteries are included. Link

2. Install JAVA Runtime Environment (JRE) Link

3. Download Eclipse Platform Runtime BinaryInstall Version 3.x

The newest version is 3.7.2 (2012/8)

Link

4. Install PyDev

Install PyDev (1)

Open Eclipse

Help > Install New Software, click Add

Install PyDev (2)

Name : Pydev (Arbitrary named)

Location : http://pydev.org/updates

Install PyDev (3)

Click Pydev and PyDev Mylyn Integration (optional)

Install PyDev (4)

Click Next, Next, Next ...

Useful Eclipse Plug-ins

Eclipse Color ThemeAdd site : http://eclipse-color-theme.github.com/update

Full Screen : Eclipse-fullscreen_1.0.7

Key: Ctrl+Atl+Z

Useful Eclipse Shortcuts

Format Code : Ctrl+Shift+F

Find Reference in File : Ctrl+Shift+G

Max windows : Ctrl+M

Go to Definition : F3

Move backward : Alt + left

Quick Fix : Ctrl+1

Word Completion : Alt+/

P4Eclipse

Install from update site: http://www.perforce.com/downloads/http/p4-eclipse/install/3.7

iPython & iPython Notebook

Very Useful for learning python language

Powerful Python shells

A web-based notebook : iPython Notebook

Saving code snippet

Documentation : http://ipython.org/documentation.html





Python Recommended Book

Python Essential Reference, David M. BeazleyFor those have already other programming experience

Python Testing CodebookLearning python testing tools & concept