Essentials of advanced Python language features in this quick reference created for developers of all skill levels, goes perfectly with the QuickStudy Python Programming Language guide. This handy 6 page laminated guide is a concise desktop reference to key concepts behind Python logic, syntax, and operation. Author Robin Nixon worked with computers in the 80s and started developing websites in the 90s becoming an expert and writing over 40 programming books and over 500 articles for top computer magazines. With his expertise in the field and writing to his audience in our succinct and organized QuickStudy format, this reference has more quality actionable facts per page than any book or website. Designed for quick access to the facts you need, this inexpensive tool is an easy add to your programming toolbox. As our programming reference guides climb in sales to best-selling status, it is clear that print is not dead and this handy desktop tool is an unbeatable value.
6 page laminated guide includes:
- Background History
- Key Features of Python
- Regular Expressions (Regex)
- Recursion & Iteration
- Type Hints & Static Typing
- Function Signatures
- Typing Variables
- Common Types from Typing
- Lists & Tuples
- Lists
- List Operations
- Tuples
- List & Tuple Length
- Dictionaries
- Create a Dictionary
- Access Dictionary Values
- Modify a Dictionary
- Check Keys & Dictionary Length
- Loop Through a Dictionary
- Dictionary Methods
- Handle Missing Keys & Count Elements
- Sets
- Create Sets
- Properties
- Add & Remove Elements
- Set Operations
- Check Membership & Set Length
- File Handling
- Open & Close Files
- Read Files
- Write to Files
- Read & Write Binary Files
- Error Handling
- Common Python Errors
- Use try, except & else to Handle Errors
- Catch Any Error
- Use finally for Cleanup
- Raise Custom Exceptions
- Use assert for Debugging
- Context Managers
- Using with
- Create Your Own Context Manager
- Contextlib for Simpler Managers
- Object-Oriented Programming (OOP)
- Classes & Objects
- Inheritance
- Polymorphism
- Data Classes
- Default Values & Type Annotations
- Immutability
- Method Overriding
- Self Type (Python 3.11+)
- Abstract Base Classes
- Modules & Packages
- Advanced Pattern Matching
- Async Programming
- Unit Testing
- Basic Test Case
- Common Assert Methods
- Run Tests
- Mock & Patch with unittest.mock
- Property-Based Testing with Hypothesis
- Custom Error Handling
- Advanced Data Structures
- NamedTuples
- Enums
- Decorator Techniques
- Efficiency & Optimization
- Dates & Times
