Van Rossum (now he works for Google in App Engine) • Python 2.x in 2000 • Python 3.x in 2008 • Python 3 is not backward compatible • 2.x is the status quo • 3.x future
• Powerful • efficient high-level data structures • write complex operations in fewer statements than in C, C++ or Java. • Object-oriented programming is a lot easier than in languages like Java. • Clean syntax and code readability • Python programs are portable • Open Source • Cross-platform • Rich set of libraries • Large Number of open source tools
proof on concept ) • Extensive library support • Tons of tools already written • If you want to write POC very fast actually you need language which is High level allows you to concentrate more on business of the application rather than having to worry about integrity details.
Windows: – Download python 2.7.5 from http://python.org/getit – Or Download and install Activestate Python http://www.activestate.com/activepython • Mac OS : – Pre-Loaded
multiplication and division 4. Addition and subtraction >>> 3 + 2 * 4 11 >>> ( 3 + 2 ) * 4 20 >>> The most recent output value is automatically stored by the interpreter in a special variable with the name "_“ >>> _ 20 >>>
for checking small bits of code but if we have to write a serious program or script, we need to save our script in a file. • To save and edit programs in a file we need an editor. • There are lots of editors, but you should choose one, which supports syntax highlighting and indentation. Under Linux you can use vi, vim, sublime text, Eclipse, emacs, geany, gedit and others.
Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nd/3.0/ Copyright 2013 Mohammad Reza Kamalifard All rights reserved. Go to Kamalifard.ir/pysec101 to Download Slides and Course martials .