0
Learning Python
Part 1 | Winter 2014 | Koosha Zarei | QIAU
Part 1
3February 2014Learning Python | Part 1 | Koosha Zarei
References
What is Python?
Why Python?
What can we do with Python?
W...
4February 2014Learning Python | Part 1 | Koosha Zarei
Referees
Learning Python, Fourth Edition, Mark Lutz, 2009, O’Reilly ...
5February 2014Learning Python | Part 1 | Koosha Zarei
What is Python?
Python
Is a General Purpose ,High Level Programming ...
6February 2014Learning Python | Part 1 | Koosha Zarei
Why Python?
Software quality.
Readability, maintainability.
Develope...
7February 2014Learning Python | Part 1 | Koosha Zarei
Why Python?
Component integration.
C, C++, .NET, XML.
Enjoyment.
Bui...
8February 2014Learning Python | Part 1 | Koosha Zarei
Why Python?
High level dynamic data type.
Automatic memory managemen...
9February 2014Learning Python | Part 1 | Koosha Zarei
What can we do with Python?
GUI.
Systems Programming.
Database Progr...
10February 2014Learning Python | Part 1 | Koosha Zarei
What is the downside?
Execution Speed
Execution speed may not alway...
11February 2014Learning Python | Part 1 | Koosha Zarei
Who use Python?
1 million users.
Google, YouTube, BitTorrent.
Intel...
12February 2014Learning Python | Part 1 | Koosha Zarei
Alternative Implementations
Three Primary Implementation
Cpython
Or...
13February 2014Learning Python | Part 1 | Koosha Zarei
Installation and Configuration
Pre-installed on various OS:
Linux: ...
14February 2014Learning Python | Part 1 | Koosha Zarei
Module, File, and Script
Modules:
Text files containing python stat...
15February 2014Learning Python | Part 1 | Koosha Zarei
How to run programs
I. The Interactive Prompt
II.Running Files with...
16February 2014Learning Python | Part 1 | Koosha Zarei
How to run programs
The Interactive Prompt
Simplest way
Experimenti...
17February 2014Learning Python | Part 1 | Koosha Zarei
How to run programs
18February 2014Learning Python | Part 1 | Koosha Zarei
How to run programs
Running Files with Command Lines
Execute python...
19February 2014Learning Python | Part 1 | Koosha Zarei
How to run programs
The IDE User Interface
Integrated Development E...
20February 2014Learning Python | Part 1 | Koosha Zarei
How to run programs
The IDE User Interface
Features:
For Authoring,...
21February 2014Learning Python | Part 1 | Koosha Zarei
Debugging Python Code
Strategies for debugging Python:
Do Nothing!
...
22February 2014Learning Python | Part 1 | Koosha Zarei
Useful Links
pyvideo
showmedo.com
bestechvideos.com
tutorialspoint....
Upcoming SlideShare
Loading in...5
×

Learning python - part 1

234

Published on

Learning python series based on "Beginning Python Using Python 2.6 and P - James Payne" book presented by Koosha Zarei.

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
234
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Learning python - part 1"

  1. 1. Learning Python Part 1 | Winter 2014 | Koosha Zarei | QIAU
  2. 2. Part 1
  3. 3. 3February 2014Learning Python | Part 1 | Koosha Zarei References What is Python? Why Python? What can we do with Python? What is the downside? Who use Python? Alternative Implementations Installation and Configuration Module, File, and Script How to run programs Debugging Python Code Useful Links Content
  4. 4. 4February 2014Learning Python | Part 1 | Koosha Zarei Referees Learning Python, Fourth Edition, Mark Lutz, 2009, O’Reilly Media, Inc. Beginning Python® Using Python 2.6 and Python 3.1, James Payne, Wiley Publishing, Inc. Python.org
  5. 5. 5February 2014Learning Python | Part 1 | Koosha Zarei What is Python? Python Is a General Purpose ,High Level Programming Language. Supports multiple programming paradigms. Features a dynamic type system. Support Automatic memory management. Contains Large and comprehensive standard library.
  6. 6. 6February 2014Learning Python | Part 1 | Koosha Zarei Why Python? Software quality. Readability, maintainability. Developer productivity. Less to type, less to debug, and less to maintain. No compile, No Linking step. Program portability. Cross platform. Support libraries.
  7. 7. 7February 2014Learning Python | Part 1 | Koosha Zarei Why Python? Component integration. C, C++, .NET, XML. Enjoyment. Built-in tool-set. English keywords. Small core, large standard library, and an easily extensible interpreter.
  8. 8. 8February 2014Learning Python | Part 1 | Koosha Zarei Why Python? High level dynamic data type. Automatic memory management. Free and Open Source. GUI support. Python is commonly defined as an object-oriented scripting language.
  9. 9. 9February 2014Learning Python | Part 1 | Koosha Zarei What can we do with Python? GUI. Systems Programming. Database Programming. Internet Scripting. Numeric & Scientific Programming. Natural Language Analysis. Rapid Prototyping. Gaming, Images, Serial Ports, XML, Robots, and more.
  10. 10. 10February 2014Learning Python | Part 1 | Koosha Zarei What is the downside? Execution Speed Execution speed may not always be as fast as compiled languages such as C and C++. Source Code Byte Code Interpreter
  11. 11. 11February 2014Learning Python | Part 1 | Koosha Zarei Who use Python? 1 million users. Google, YouTube, BitTorrent. Intel, Cisco, Hewlett-Packard, Seagate, Qualcomm, and IBM. Industrial Light & Magic, Pixar. NASA, Los Alamos, Fermilab and JPL.
  12. 12. 12February 2014Learning Python | Part 1 | Koosha Zarei Alternative Implementations Three Primary Implementation Cpython Original, Reference and standard. Jython Java IronPython .NET framework All implement the same Python language but execute programs in different ways
  13. 13. 13February 2014Learning Python | Part 1 | Koosha Zarei Installation and Configuration Pre-installed on various OS: Linux: Python 2. Mac OS X: Python 2. Windows: noting! Download from official website. 'Python -V' Shows version of installed python Learning Python, Mark Lutz, APPENDIX A
  14. 14. 14February 2014Learning Python | Part 1 | Koosha Zarei Module, File, and Script Modules: Text files containing python statements. Ready to execute any number of time and in a variety of ways. Module files are often referred to as programs. Module files that are run directly are also sometimes called scripts. File(s) imported from another file. Packages of additional tools.
  15. 15. 15February 2014Learning Python | Part 1 | Koosha Zarei How to run programs I. The Interactive Prompt II.Running Files with Command Lines III.The IDE User Interface
  16. 16. 16February 2014Learning Python | Part 1 | Koosha Zarei How to run programs The Interactive Prompt Simplest way Experimenting Testing Linux Just type Python Windows Start IDLE’s main window Select “Python (command line)” /usr/local/bin/python /usr/bin/python C:Python30python
  17. 17. 17February 2014Learning Python | Part 1 | Koosha Zarei How to run programs
  18. 18. 18February 2014Learning Python | Part 1 | Koosha Zarei How to run programs Running Files with Command Lines Execute python command in terminal by passing the script name. Run Python Scripts: “python script.py” Some basic information about command: python -h
  19. 19. 19February 2014Learning Python | Part 1 | Koosha Zarei How to run programs The IDE User Interface Integrated Development Environment, Binds together various development tasks into a single view. IDLE Python program that uses the standard library’s tkinter GUI toolkit to build the IDLE GUI. Eclipse and PyDev. Komodo. NetBeans IDE for Python. PythonWin. Anjuta.
  20. 20. 20February 2014Learning Python | Part 1 | Koosha Zarei How to run programs The IDE User Interface Features: For Authoring, Modifying, Deploying, and Debugging. Interactive debugger Integrated compiler/interpreter Code completion Project management Version control Wikipedia | More info about IDE
  21. 21. 21February 2014Learning Python | Part 1 | Koosha Zarei Debugging Python Code Strategies for debugging Python: Do Nothing! Python interpret shows very useful error message facing mistakes by default. Print Fast execution. IDE Debugger Trace code in more detail. pdb Available as a module in Python's standard library.
  22. 22. 22February 2014Learning Python | Part 1 | Koosha Zarei Useful Links pyvideo showmedo.com bestechvideos.com tutorialspoint.com
  1. Gostou de algum slide específico?

    Recortar slides é uma maneira fácil de colecionar informações para acessar mais tarde.

×