Introduction to Python
Sway Wang
Outline
• Python Overview
• Features of Python
• Python Modules
• Dynamic programming language
• Scripting language
• Easy to interface with C/C++
• Emphasizes code readability
• Fewer l...
Python Flow
Guido van Rossum
Open Source and Cross Platform
• The Python license is administered by the
Python Software Foundation
• http://www.python....
• The interpreter provides an interactive
environment to play with the language
• Results of expressions are printed on th...
Python with Eclipse
Hello World
hello.py
If statement
List
Dictionary
Function
Loop
C#
Python
List comprehension
Output
Duck Typing
PyUSB
• Support for libusb 0.1, libusb 1.0
matplotlib module
Other modules
• PySerial
• xmodem
• PyQT, PyGTK, wxPython
• Excel
• Parsing csv, ini
• Py2exe
Works
• Parsing Andes simulator產生的CSV檔,
輸出Excel檔
• 修改Binary檔
• Parsing CAT-C輸出的csv檔
• 畫raw image, profile, cluster
IronPython
Learn Python
Things to read through
“Dive into Python” (Chapters 2 to 4)
http://diveintopython.org/
Python 101 – Beginning...
Q & A
• Thanks for your listening!!
DeviceDescriptor
Introduction to Python
Upcoming SlideShare
Loading in …5
×

Introduction to Python

312 views

Published on

Published in: Software, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
312
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
16
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Introduction to Python

  1. 1. Introduction to Python Sway Wang
  2. 2. Outline • Python Overview • Features of Python • Python Modules
  3. 3. • Dynamic programming language • Scripting language • Easy to interface with C/C++ • Emphasizes code readability • Fewer lines of code than C • Python 2.7 v.s. Python 3.3 • Dropbox, Google, Plurk…… Python Overview
  4. 4. Python Flow
  5. 5. Guido van Rossum
  6. 6. Open Source and Cross Platform • The Python license is administered by the Python Software Foundation • http://www.python.org/
  7. 7. • The interpreter provides an interactive environment to play with the language • Results of expressions are printed on the screen Python Interpreter >>> 3 + 7 10 >>> 3 < 15 True >>> 'print me' 'print me' >>> print 'print me' print me >>>
  8. 8. Python with Eclipse
  9. 9. Hello World hello.py
  10. 10. If statement
  11. 11. List Dictionary
  12. 12. Function
  13. 13. Loop C# Python
  14. 14. List comprehension Output
  15. 15. Duck Typing
  16. 16. PyUSB • Support for libusb 0.1, libusb 1.0
  17. 17. matplotlib module
  18. 18. Other modules • PySerial • xmodem • PyQT, PyGTK, wxPython • Excel • Parsing csv, ini • Py2exe
  19. 19. Works • Parsing Andes simulator產生的CSV檔, 輸出Excel檔 • 修改Binary檔 • Parsing CAT-C輸出的csv檔 • 畫raw image, profile, cluster
  20. 20. IronPython
  21. 21. Learn Python Things to read through “Dive into Python” (Chapters 2 to 4) http://diveintopython.org/ Python 101 – Beginning Python http://www.rexx.com/~dkuhlman/python_101/python_101.html Things to refer to The Official Python Tutorial http://www.python.org/doc/current/tut/tut.html The Python Quick Reference http://rgruet.free.fr/PQR2.3.html
  22. 22. Q & A • Thanks for your listening!!
  23. 23. DeviceDescriptor

×