Beginning Python
Год издания: 2024
Автор: Lie Hetland M., Nelli F.
Издательство: Apress
ISBN: 979-8868801952
Язык: Английский
Формат: PDF
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 545
Описание: Gain a fundamental understanding of Python’s syntax and features with this revised introductory and practical reference. Covering a wide array of Python–related programming topics, including addressing language internals, database integration, network programming, and web services, you’ll be guided by sound development principles.
Updated to reflect the latest in Python programming paradigms and several of the most crucial features found in Python 3, Beginning Python, Fourth Edition also covers advanced topics such as extending Python and packaging/distributing Python applications. Ten accompanying projects will ensure you can get your hands dirty in no time.
What You'll Learn
- Become a proficient Python programmer by following along with a friendly, practical guide to the language’s key features
- Write code faster by learning how to take advantage of advanced features such as magic methods, exceptions, and abstraction
- Gain insight into modern Python programming paradigms including testing, documentation, packaging, and distribution
- Work through several interesting projects, including a P2P file–sharing application, chat client, video game, remote text editor, and more
Примеры страниц (скриншоты)
Оглавление
CHAPTER 1. Instant Hacking: The Basics 1
CHAPTER 2. Lists and Tuples 25
CHAPTER 3. Working with Strings 47
CHAPTER 4. Dictionaries: When Indices Won’t Do 61
CHAPTER 5. Conditionals, Loops, and Some Other Statements 73
CHAPTER 6. Abstraction 105
CHAPTER 7. More Abstraction 133
CHAPTER 8. Exceptions 153
CHAPTER 9. Magic Methods, Properties, and Iterators 171
CHAPTER 10. Batteries Included 201
CHAPTER 11. Files and Stuff 249
CHAPTER 12. Graphical User Interfaces 275
CHAPTER 13. Database Support 285
CHAPTER 14. Network Programming 309
CHAPTER 15. Python and the Web 325
CHAPTER 16. Testing, 1-2-3 345
CHAPTER 17. Extending Python 359
CHAPTER 18. Packaging and Distributing Your Programs 379
CHAPTER 19. Playful Programming 391
CHAPTER 20. Project 1: Instant Markup 405
CHAPTER 21. Project 2: XML for All Occasions 427
CHAPTER 22. Project 3: File Sharing with XML-RPC 443
CHAPTER 23. Project 4: File Sharing II—Now with GUI! 463
CHAPTER 24. Project 5: Do-It-Yourself Arcade Game 469
CHAPTER 25. Activity 1: Data Analysis with Pandas, Matplotlib, and Seaborn 487
CHAPTER 26. Activity 2: Machine Learning with scikit-learn 505
CHAPTER 27. Activity 3: Building a Web App with Flask 517
CHAPTER 28. Activity 4: Asynchronous Programming with asyncio 537
CHAPTER 29. Activity 5: Web Scraping with Requests and BeautifulSoup 547