8
Advanced Python
Computing Methods for Experimental Physics and Data Analysis
Preface
License
1
Introduction
2
Python basics
3
Version control
4
Python packaging
5
Algorithms (sort of)
6
The Python scientific stack
7
Object oriented programming
8
Advanced Python
9
Testing
10
Documentation
11
Optimization
Appendices
A
Floating-point arithmetic
B
Assignments
C
Contributing
D
Acknowledgements
E
Use of AI for these notes
F
Release history
Table of contents
8.1
Error handling
8.2
Iterators and iterable
8.3
Generators
8.4
Decorators
8.5
Miscellanea
8.5.1
Dataclasses
Edit this page
Report an issue
8
Advanced Python
Published
October 9, 2026
Warning
The material is being migrated—see
here
and
here
8.1
Error handling
8.2
Iterators and iterable
8.3
Generators
8.4
Decorators
8.5
Miscellanea
8.5.1
Dataclasses
7
Object oriented programming
9
Testing