جزییات کتاب
Key FeaturesLearn how to write effective Python codeGet up-to-speed with the most important data structures in Python, using sequences, sets, and mappingsExplore Python's impressive range of features and discover why it's one of the most popular programming languages in the worldBook DescriptionPython Essentials provides a vital tour of the most critical features of Python. Starting with setup and installation, you will soon dive into exploring built-in-library types, Python's rich collection of operators and built-in functions, variables, assignment and scoping rules.From this foundation, you will explore functions, a crucial aspect of any programming language, including considerable sophistication in defining parameters to a function and providing argument values. Explore advanced functional programming using generator expressions, comprehensions, and generator functions. Handle file input and output using web services and context managers, exception handling and explore wider, popular frameworks.Through this concise and practical guide, you will explore all you need to know to leverage this powerful, and industry-standard, programming language.What you will learnUse Python interactively and master the art of writing efficient Python scriptsLearn techniques for working with string data, including how to use regular expressions to parse stringsGet to know how the short-circuit and if-else logic operators workExplore mutable data structures including list, set, and dictDefine functions with positional and optional parameters, and learn to use keyword argument values when calling a functionWrite generator functions, generator expressions, and comprehensionsMaster the use of exceptions for handling errors and other unexpected conditionsUnderstand the importance of working with files, context manager, and the with statementAbout the AuthorSteven F. Lott has been programming since the 70s, when computers were large, expensive, and rare. As a contract software developer and architect, he has worked on hundreds of projects, from very small to very large. He's been using Python to solve business problems for over 10 yearsTable of ContentsGetting StartedSimple Data TypesExpressions and OutputVariables, Assignment and Scoping RulesLogic, Comparisons, and ConditionsMore Complex Data TypesBasic Function DefinitionsMore Advanced FunctionsExceptionsFiles, Databases, Networks, and ContextsClass DefinitionsScripts, Modules, Packages, Libraries, and ApplicationsMetaprogramming and DecoratorsFit and Finish Unit Testing, Packaging, and DocumentationNext Steps