Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword or section
Like this

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
Python Tutorial

Python Tutorial



|Views: 1,103|Likes:
Published by neilvan

More info:

Published by: neilvan on May 11, 2008
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





Python Tutorial
Release 2.5 
Guido van RossumFred L. Drake, Jr., editor
19th September, 2006
Python Software Foundation
Copyright © 2001-2006 Python Software Foundation. All rights reserved.Copyright © 2000 BeOpen.com. All rights reserved.Copyright © 1995-2000 Corporation for National Research Initiatives. All rights reserved.Copyright © 1991-1995 Stichting Mathematisch Centrum. All rights reserved.See the end of this document for complete license and permissions information.
Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simplebut effective approach to object-oriented programming. Python’s elegant syntax and dynamic typing, together with itsinterpreted nature, make it an ideal language for scripting and rapid application development in many areas on mostplatforms.The Python interpreter and the extensive standard library are freely available in source or binary form for all ma- jor platforms from the Python Web site,
, and may be freely distributed. The same site alsocontains distributions of and pointers to many free third party Python modules, programs and tools, and additionaldocumentation.The Python interpreter is easily extended with new functions and data types implemented in C or C++(or otherlanguages callable from C). Python is also suitable as an extension language for customizable applications.This tutorial introduces the reader informally to the basic concepts and features of the Python language and system. Ithelps to have a Python interpreter handy for hands-on experience, but all examples are self-contained, so the tutorialcan be read off-line as well.For a description of standard objects and modules, see the
document. The
gives a more formal definition of the language. To write extensions in C or C++, read
. There are also several books covering Python indepth.This tutorial does not attempt to be comprehensive and cover every single feature, or even every commonly usedfeature. Instead, it introduces many of Python’s most noteworthy features, and will give you a good idea of thelanguage’s flavor and style. After reading it, you will be able to read and write Python modules and programs, and youwill be ready to learn more about the various Python library modules described in the

Activity (5)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
kenjiliu liked this
udomsak chundang liked this
mos2003 liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->