Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
31Activity
0 of .
Results for:
No results containing your search query
P. 1
Building Skills in Python

Building Skills in Python

Ratings: (0)|Views: 583|Likes:
Published by api-20346054

More info:

Published by: api-20346054 on Dec 12, 2009
Copyright:Attribution Non-commercial

Availability:

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

11/04/2012

pdf

text

original

 
12/29/08 9:20 PMBuilding Skills in PythonPage 1 of 470file:///Volumes/SLOTT02/Writing/Technical/PythonBook-2.5/pythonbook-2.5.html#lang.start.interactive
Building Skills in PythonA Programmer's Introduction to PythonStevenF. Lott
Copyright © 2002, 2005, 2007, 2008 Steven F. LottThiswork is licensed under aCreative Commons License. You are free to copy, distribute, display, and perform the work under the following conditions:
Attribution.
You must give the original author, Steven F. Lott, credit.
Noncommercial.
You may not use this work for commercial purposes.
You may not alter, transform, or build upon this work.For any reuse or distribution, you must make clear to others the license terms of thiswork.12/29/2008
Table of Contents
PrefaceWhy Read This Book?AudienceOrganization of This BookLimitationsProgramming StyleConventions Used in This BookAcknowledgementsI. Language Basics1. Background and HistoryHistoryFeatures of PythonComparisons2. Python InstallationWindows InstallationMacintosh InstallationGNU/Linux and UNIX OverviewYUM InstallationRPM Installation"Build from Scratch" Installation3. Getting StartedCommand-Line InteractionThe IDLE Development EnvironmentScript Mode
 
12/29/08 9:20 PMBuilding Skills in PythonPage 2 of 470file:///Volumes/SLOTT02/Writing/Technical/PythonBook-2.5/pythonbook-2.5.html#lang.start.interactive
Syntax FormalitiesExercisesOther ToolsStyle Notes: Wise Choice of File Names4. Simple Numeric Expressions and OutputThe
 
print
StatementNumeric Types and OperatorsNumeric Conversion FunctionsBuilt-In FunctionsExpression ExercisesExpression Style Notes5. Advanced ExpressionsUsing ModulesThe
math
ModuleThe
random 
ModuleAdvanced Expression ExercisesBit Manipulation OperatorsDivision Operators6. Variables, Assignment and InputVariablesThe
Assignment
StatementInput FunctionsMultiple Assignment StatementThe
del
StatementInteractive Mode RevisitedVariable and Assignment ExercisesVariables and Assignment Style Notes7. Truth, Comparison and Conditional ProcessingTruth and LogicComparisonsConditional Processing: the
if 
StatementThe
pass
StatementThe
assert
StatementThe
if-else
OperatorCondition ExercisesCondition Style Notes8. LoopingIterative Processing: For All and There ExistsIterative Processing: The
for
StatementIterative Processing: The
while
StatementMore Iteration Control:
break
and
continue
Iteration ExercisesCondition and Loops Style NotesA Digression9. FunctionsSemanticsFunction Definition: The
def 
and
return
StatementsFunction UseFunction Varieties
 
12/29/08 9:20 PMBuilding Skills in PythonPage 3 of 470file:///Volumes/SLOTT02/Writing/Technical/PythonBook-2.5/pythonbook-2.5.html#lang.start.interactive
Some ExamplesHacking ModeMore FeaturesFunction ExercisesObject Method FunctionsFunctions Style Notes10. Additional Notes On FunctionsFunctions and NamespacesThe
 
global
StatementCall By Value and Call By ReferenceFunction ObjectsII. Data Structures11. Sequences: Strings, Tuples and ListsSemanticsOverview of SequencesExercisesStyle Notes12. StringsString SemanticsString Literal ValuesString OperationsString Comparison OperationsString Built-in FunctionsString MethodsString ModulesString ExercisesDigression on Immutability of Strings13. TuplesTuple SemanticsTuple Literal ValuesTuple OperationsTuple Comparison OperationsTuple StatementsTuple Built-in FunctionsTuple ExercisesDigression on The Sigma Operator14. ListsList SemanticsList Literal ValuesList OperationsList Comparison OperationsList StatementsList Built-in FunctionsList MethodsList Exercises15. Mappings and DictionariesDictionary SemanticsDictionary Literal Values

Activity (31)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Josferba liked this
Joseph Andy liked this
MsnFaas liked this
askician liked this
frederic bevia liked this
maheshseth liked this
msalim24 liked this

You're Reading a Free Preview

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