About This Book“Python Programming” covers all essential Python knowledge. You can learn complete primary skills of Python fast and easily. The book includes more than 80 practical examples for beginners and includes tests & answers for the college exam, the engineer certification exam, and the job interview exam.Source Code for DownloadThis book provides source code for reference; you can reference the source code for better study, or copy the source code to your favorite editor to test the programs. Table of ContentsChapter 1 Start PythonWhat is Python?First Python ProgramThe Shell PromptConfigure EditorVariablesVariables & CommentArithmetic OperatorAssignment OperatorsComparison OperatorsLogical OperatorsConditional OperatorConvert Data TypeTriple QuotesExercise: Ticket FareSummaryChapter 2 StatementIf StatementIf-else StatementIndentationIf-elif-StatementFor-In Loopsfor variable in range( )While LoopsContinueBreak StatementInput Texts (1)Input Texts (2)Pass StatementExercise: Traffic LightSummaryChapter 3 FunctionMath Functionceil( ) & floor( )pow ( ) & sqrt ( )Max ( ) & Min ( )abs( ) & round( )Custom FunctionFunction with ArgumentsGlobal & Local VariableGlobal Variable inside FunctionReturnMain FunctionList all functions in moduleExercise: Circle AreaSummaryChapter 4 Data StructuresListList FunctionsKnow More ListTupleTuple FunctionsSetSet FunctionsDictionaryDictionary FunctionsData Structure ReviewExercise: Four ColorsSummaryChapter 5 StringsOperation StringsEscape CharactersTesting FunctionsSearching FunctionsFormatting FunctionsStripping FunctionsSplitting FunctionsString Functions (1)String Functions (2)Regular ExpressionsRegular Expression in PythonExercise: Check Your InputSummaryChapter 6 Input & OutputFormat StringFile DirectoryOpen FileRead fileWrite FileAppend Text to FileRenew Some TextOpen Web PageExercise: Process a FileSummaryChapter 7 Module & ExceptionModuleImport Module (1)Import Module (2)Built-in ModuleExceptionsCatch ExceptionsFinallyDebugExercise: Three FlowersSummaryChapter 8 Class & ObjectClass DefinitionObject DeclarationAnother ObjectInheritanceOverriding MethodPolymorphismExercise: Rose is RedSummaryAppendix Python Summary ChartsAppendix Django BasicDjango IntroductionInstall DjangoTest DjangoCreating ProjectProject StructureStart up ServerPreview Web PageCreate a View FileCreate an URL FileView the Web PageTemplateTemplate PathModify view.pyView the Web PageAppendix Tests & AnswersTestsAnswersSource Code for Download
人気のある作家
Workman Calendars (22) Willow Creek Press (21) National Audubon Society (19) Avonside Publishing Ltd (9) Andrews McMeel Publishing (6) Ansel Adams (6) Beverly L. Jenkins (6) DK (5) James Herriot (5) Workman Publishing (5) Browntrout Publishers (4) Dan Kainen (4) Richard Austin (4) Andy Swash (3) Dart R. Swift (3) Lua C. Perl (3) Lucy Cooke (3) National Park Foundation (3) Bird Photographer of the Year (2) Browntrout Publishing (2)最適なファイルサイズ
1802 KB 10105 KB 10145 KB 1021 KB 1040 KB 10881 KB 110687 KB 1158 KB 1417 KB 1480 KB 1502 KB 1528 KB 1684 KB 1871 KB 18871 KB 2022 KB 215238 KB 228392 KB 2410 KB 2502 KB