Absolute Beginner's Guide to Python Programming
Absolute Beginner's Guide to Python Programming
A Step-by-Step Guide with Examples and Lab Exercises
Wilson, Kevin
APress
10/2022
193
Mole
Inglês
9781484287156
15 a 20 dias
332
Setting Up
Chapter 2: The BasicsGoal: Covers basics, syntax, writing a basic program and executing the codeSub-topics
Language ClassificationLow-Level LanguageHigh-Level LanguagePython Language SyntaxReserved WordsIdentifiersIndentationCommentsInputOutputEscape CharactersWriting a Program
Chapter 3: Working with Data
Goal: Covers data types: integers, lists, strings, etc, etc , variables, operatorsSub-topics
VariablesLocal VariablesGlobal VariablesBasic Data TypesIntegersFloating Point NumbersStringsListsTwo Dimensional ListsSetsTuplesDictionariesCasting Data TypesArithmetic OperatorsOperator PrecedencePerforming ArithmeticComparison OperatorsBoolean OperatorsBitwise OperatorsLab Exercises
Chapter 4: Flow ControlGoal: Explains flow control, sequence, if/elif, for/whileSub-topics
SequenceSelectionif...elseelifIteration (Loops)For loopWhile loopBreak and ContinueLab Exercises
Chapter 5: Handling FilesGoal: Explains file handling, reading files, writing to files, text files, binary files
File TypesText FileBinaryText File OperationsOpen FilesWrite to a FileRead from a FileBinary File OperationsOpen FilesWrite to a FileRead a FileRandom File AccessLab Exercises
Chapter 6: Using FunctionsSub-topics
Declaring FunctionsRecursionLab Exercises
Chapter 7: Exception HandlingGoal: Covers exception and error handling
Sub-topicsTypes of ExceptionCatching ExceptionsRaising your Own Exceptions
Chapter 8: Object Oriented ProgrammingGoal: OOP principles, classes, objects and inheritanceSub-topics
Principles of OOPEncapsulationInheritancePolymorphismAbstractionClasses & ObjectsClass InheritancePolymorphic ClassesMethod Overriding
Chapter 9: Building an InterfaceGoal: Building an interface using tkinterSub-topics
Creating a WindowAdding WidgetsMenusThe CanvasImagesButtonsMessage BoxesText FieldListboxCheckboxLabelsLabel FrameInterface Design
Chapter 10: Developing a GameSub-topics
Installing PyGameOpening a WindowAdding an ImageThe Game LoopThe Event LoopShapesBasic Animation
Chapter 11: Python Web DevelopmentSub-topics
Web ServersExecuting a ScriptPython Web Frameworks
Quick ReferenceData TypesNumeric OperatorsComparison OperatorsBoolean OperatorsString OperatorsList OperatorsDictionary OperatorsString MethodsList MethodsDictionary MethodsFunctionsFilesConditionalMulti ConditionalWhile LoopFor LoopLoop ControlModulesBuilt in FunctionsDeclare a ClassChild ClassCreate ObjectCall Object Method
Setting Up
Chapter 2: The BasicsGoal: Covers basics, syntax, writing a basic program and executing the codeSub-topics
Language ClassificationLow-Level LanguageHigh-Level LanguagePython Language SyntaxReserved WordsIdentifiersIndentationCommentsInputOutputEscape CharactersWriting a Program
Chapter 3: Working with Data
Goal: Covers data types: integers, lists, strings, etc, etc , variables, operatorsSub-topics
VariablesLocal VariablesGlobal VariablesBasic Data TypesIntegersFloating Point NumbersStringsListsTwo Dimensional ListsSetsTuplesDictionariesCasting Data TypesArithmetic OperatorsOperator PrecedencePerforming ArithmeticComparison OperatorsBoolean OperatorsBitwise OperatorsLab Exercises
Chapter 4: Flow ControlGoal: Explains flow control, sequence, if/elif, for/whileSub-topics
SequenceSelectionif...elseelifIteration (Loops)For loopWhile loopBreak and ContinueLab Exercises
Chapter 5: Handling FilesGoal: Explains file handling, reading files, writing to files, text files, binary files
File TypesText FileBinaryText File OperationsOpen FilesWrite to a FileRead from a FileBinary File OperationsOpen FilesWrite to a FileRead a FileRandom File AccessLab Exercises
Chapter 6: Using FunctionsSub-topics
Declaring FunctionsRecursionLab Exercises
Chapter 7: Exception HandlingGoal: Covers exception and error handling
Sub-topicsTypes of ExceptionCatching ExceptionsRaising your Own Exceptions
Chapter 8: Object Oriented ProgrammingGoal: OOP principles, classes, objects and inheritanceSub-topics
Principles of OOPEncapsulationInheritancePolymorphismAbstractionClasses & ObjectsClass InheritancePolymorphic ClassesMethod Overriding
Chapter 9: Building an InterfaceGoal: Building an interface using tkinterSub-topics
Creating a WindowAdding WidgetsMenusThe CanvasImagesButtonsMessage BoxesText FieldListboxCheckboxLabelsLabel FrameInterface Design
Chapter 10: Developing a GameSub-topics
Installing PyGameOpening a WindowAdding an ImageThe Game LoopThe Event LoopShapesBasic Animation
Chapter 11: Python Web DevelopmentSub-topics
Web ServersExecuting a ScriptPython Web Frameworks
Quick ReferenceData TypesNumeric OperatorsComparison OperatorsBoolean OperatorsString OperatorsList OperatorsDictionary OperatorsString MethodsList MethodsDictionary MethodsFunctionsFilesConditionalMulti ConditionalWhile LoopFor LoopLoop ControlModulesBuilt in FunctionsDeclare a ClassChild ClassCreate ObjectCall Object Method