The Python Command LineCommand-Line Options and EnvironmentObjects in PythonData Types in PythonNumeric data as objectsSequence objectsListsStringsTuplesMapped objects—dictionariesExpressionsOperatorsArithmetic operatorsLogical operatorsComparison operatorsBitwise operatorsAssignment operatorsMembership operatorsIdentity operatorsOperator precedenceStatementsIndentationCommentsKeywordsSimple statementsassertAssignmentAugmented assignmentpassprintreturnbreakcontinueglobalCompound statementsThe if statementThe while statementThe for statementThe try statementStringsString quotesString methodsString formattingProgram OrganizationScopeLocal scopeGlobal scopeBuilt-in scopeModules and packagesFunctions, classes, and methodsDocstringsImporting ModulesImport methodsImport processingCyclic importsLoading and Running a Python ProgramBasic Input and OutputUser inputCommand-line parametersFilesConsole output using printRedirecting printHints and TipsModule global variablesLatent defectsDeferred importsDictionaries as function parametersFunction return valuesThink of modules as objectsUse docstrings and descriptive commentsCoding style