Introducing Python: Modern Computing in Simple PackagesEasy to understand and fun to read, Introducing Python is ideal for beginning programmers as well as those new to the language. Author Bill Lubanovic takes you from the basics to more involved and varied topics, mixing tutorials with cookbook-style code recipes to explain concepts in Python 3. End-of-chapter exercises help you practice what you’ve learned. You’ll gain a strong foundation in the language, including best practices for testing, debugging, code reuse, and other development tips. This book also shows you how to use Python for applications in business, science, and the arts, using various Python tools and open source packages.
|
Contents
Chapter 1 A Taste of Py | 1 |
Numbers Strings and Variables | 17 |
Lists Tuples Dictionaries and Sets | 43 |
Code Structures | 71 |
Modules Packages and Programs | 111 |
Objects and Classes | 125 |
Chapter 7 Mangle Data Like a Pro | 147 |
Chapter 8 Data Has to Go Somewhere | 177 |
Chapter 12 Be a Pythonista | 311 |
Appendix A Py Art | 345 |
Appendix B Py at Work | 359 |
Appendix C Py Sci | 373 |
Appendix D Install Python 3 | 393 |
Appendix E Answers to Exercises | 403 |
Appendix F Cheat Sheets | 437 |
Index | 441 |
Chapter 9 The Web Untangled | 223 |
Chapter 10 Systems | 247 |
Chapter 11 Concurrency and Networks | 267 |
About the Author | 460 |