The absolute beginner's guide to Python programming : a step-by-step guide with examples and lab exercises
著者
書誌事項
The absolute beginner's guide to Python programming : a step-by-step guide with examples and lab exercises
Apress, 2022
- pbk.
大学図書館所蔵 件 / 全1件
-
該当する所蔵館はありません
- すべての絞り込み条件を解除する
内容説明・目次
内容説明
Written as an illustrated, step-by-step guide, this book will introduce you to Python with examples using the latest version of the language.
You'll begin by learning to set up your Python environment. The next few chapters cover the basics of Python such as language classifications, Python language syntax, and how to write a program. Next, you will learn how to work with variables, basic data types, arithmetic, companion, and Boolean operators, followed by lab exercises. Further, the book covers flow control, using functions, and exception handling, as well as the principles of object-oriented programming and building an interface design. The last section explains how to develop a game by installing PyGame and how to use basic animation, and concludes with coverage of Python web development with web servers and Python web frameworks.
The Absolute Beginners Guide to Python Programming will give you the tools, confidence, and inspiration to start writing Python programs. If you are a programmer, developer, or a student, or someone who wants to learn on their own, this book is for you.
What You Will Learn
Gain an understanding of computer programming
Understand different data and data types
Work with Classes and OOP
Build interfaces, simple games, and web development with Python
Who This Book Is ForSoftware programmers, developers or students, or anyone who wants to learn Python programming on their own.
目次
Chapter 1: What is Python.Goal: About Python, what it is, how to set up the interpreter on machineSub-topics
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
「Nielsen BookData」 より