๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

Python How-To: 63 techniques to improve your Python code [Team-IRA]

โœ Scribed by Yong Cui


Publisher
Manning
Year
2023
Tongue
English
Leaves
504
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


Have you ever asked yourself, โ€œHow do I do that in Python?โ€ If so, youโ€™ll love this practical collection of the most important Python techniques.

Python How-To includes over 60 detailed answers to questions like:

  • How do I join and split strings?
  • How do I access dictionary keys, values, and items?
  • How do I set and use the return value in function calls?
  • How do I process JSON data?
  • How do I create lazy attributes to improve performance?
  • How do I change variables in a different namespace?

โ€ฆand much more

Python How-To walks you through the most important coding techniques in Python. Whether youโ€™re doing data science, building web applications, or writing admin scripts, youโ€™ll find answers to your โ€œhow-toโ€ questions in this book. Inside youโ€™ll find important insights into both Python basics and deep-dive topics to help you skill-up at any stage of your Python career. Author Yong Cuiโ€™s clear and practical writing is instantly accessible and makes it easy to take advantage of Pythonโ€™s versatile tools and libraries. Perfect to be read both from cover to cover, and whenever you need help troubleshooting your code.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

Python How-To uses a simple but powerful method to lock in 63 core Python skills. Youโ€™ll start with a question, like โ€œHow do I find items in a sequence?โ€ Next, youโ€™ll see an example showing the basic solution in crystal-clear code. Youโ€™ll then explore interesting variations, such as finding substrings or identifying custom classes. Finally, youโ€™ll practice with a challenge exercise before moving on to the next How-To.

About the Book

This practical guide covers all the language features youโ€™ll need to get up and running with Python. As you go, youโ€™ll explore best practices for writing great Python code. Practical suggestions and engaging graphics make each important technique come to life. Author Yong Cuiโ€™s careful cross-referencing reveals how you can reuse features and concepts in different contexts.

Whatโ€™s Inside

How to:

  • Join and split strings
  • Access dictionary keys, values, and items
  • Set and use the return value in function calls
  • Process JSON data
  • Create lazy attributes to improve performance
  • Change variables in a different namespace

โ€ฆand much more.

About the Reader

For beginning to intermediate Python programmers.

About the Author

Dr. Yong Cui has been working with Python in bioscience for data analysis, machine learning, and tool development for over 15 years.

Table of Contents

1 Developing a pragmatic learning strategy
PART 1 - USING BUILT-IN DATA MODELS
2 Processing and formatting strings
3 Using built-in data containers
4 Dealing with sequence data
5 Iterables and iterations
PART 2 - DEFINING FUNCTIONS
6 Defining user-friendly functions
7 Using functions beyond the basics
PART 3 - DEFINING CLASSES
8 Defining user-friendly classes
9 Using classes beyond the basics
PART 4 - MANIPULATING OBJECTS AND FILES
10 Fundamentals of objects
11 Dealing with files
PART 5 - SAFEGUARDING THE CODEBASE
12 Logging and exception handling
13 Debugging and testing
PART 6 - BUILDING A WEB APP
14 Completing a real project


๐Ÿ“œ SIMILAR VOLUMES


Python How-To: 63 techniques to improve
โœ Yong Cui ๐Ÿ“‚ Library ๐Ÿ“… 2023 ๐Ÿ› Manning ๐ŸŒ English

Have you ever asked yourself, โ€œHow do I do that in Python?โ€ If so, youโ€™ll love this practical collection of the most important Python techniques. Python How-To includes over 60 detailed answers to questions like: โ€ข How do I join and split strings? โ€ข How do I access dictionary keys, values, and

CPython Internals: Your Guide to the Pyt
โœ Anthony Shaw ๐Ÿ“‚ Library ๐Ÿ“… 2021 ๐Ÿ› Real Python ๐ŸŒ English

Get your guided tour through the Python 3.9 interpreter: Unlock the inner workings of the Python language, compile the Python interpreter from source code, and participate in the development of CPython. Are there certain parts of Python that just seem like magic? This book explains the concepts,

CPython Internals: Your Guide to the Pyt
โœ Anthony Shaw ๐Ÿ“‚ Library ๐ŸŒ English

<p><span>Get your guided tour through the Python 3.9 interpreter:</span><span> Unlock the inner workings of the Python language, compile the Python interpreter from source code, and participate in the development of CPython.</span></p><p><span>Are there certain parts of Python that just seem like ma

How to Code in Python 3
โœ Lisa Tagliaferri ๐Ÿ“‚ Library ๐Ÿ“… 2018 ๐Ÿ› DigitalOcean ๐ŸŒ English

This educational book introduces emerging developers to computer programming through the Python software development language, and serves as a reference book for experienced developers looking to learn a new language or re-familiarize themselves with computational logic and syntax.

How To Code in Python 3
โœ Lisa Tagliaferri; Lisa Tagliaferri ๐Ÿ“‚ Library ๐Ÿ“… 2017 ๐Ÿ› DigitalOcean ๐ŸŒ English

This educational book introduces emerging developers to computer programming through the Python software development language, and serves as a reference book for experienced developers looking to learn a new language or re-familiarize themselves with computational logic and syntax. Extremely vers