'An Introduction to Python Programming for Scientists and Engineers introduces programming in Python using evidence-based approaches to active learning. The exercises help both students and instructors identify misconceptions in programming, allowing students to build a strong foundation in Python programming. The book streamlines content such that there is a focus on mastering immediately useful concepts, normalizing errors, and demonstrating recovery.' Kari L. Jordan, Executive Director, The Carpentries
Part I. Getting Basic Tasks Done: 1. Prologue: Preparing to Program; 2. Python as a Basic Calculator; 3. Python as a Scientific Calculator; 4. Basic Line and Scatter Plots; 5. Customized Line and Scatter Plots; 6. Basic Diagnostic Data Analysis; 7. Two-Dimensional Diagnostic Data Analysis; 8. Basic Prognostic Modeling; 9. Reading In and Writing Out Text Data; 10. Managing Files, Directories, and Programs; Part II. Doing More Complex Tasks: 11. Segue: How to Write Programs; 12. n-Dimensional Diagnostic Data Analysis; 13. Basic Image Processing; 14. Contour Plots and Animation; 15. Handling Missing Data; Part III. Advanced Programming Concepts: 16. More Data and Execution Structures; 17. Classes and Inheritance; 18. More Ways of Storing Information in Files; 19. Basic Searching and Sorting; 20. Recursion; Part IV. Going From a Program Working to Working Well; 21. Make it Usable to Others: Documentation and Sphinx; 22. Make it Fast: Performance; 23. Make it Correct: Linting and Unit Testing; 24. Make it Manageable: Version Control and Build Management; 25. Make it Talk to Other Languages.