Secret Recipes of the Python Ninja : Over 70 recipes that uncover powerful programming tactics in Python.
Do you feel you've mastered the Python language and you know everything it takes to write applications that are a class apart? Well, you're in for a surprise! This book covers the darkest secrets of Python, delving into its depths and uncovering things you never would have thought could be...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing,
2018.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Copyright and Credits; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Working with Python Modules; Introduction; Using and importing modules and namespaces; How to do it ... ; How it works ... ; There's more ... ; Implementing virtual Python environments; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Python package installation options; How to do it ... ; How it works ... ; Utilizing requirement files and resolving conflicts; How to do it ... ; How it works ... ; There's more ... ; Using local patches and constraint files; How to do it ... ; How it works ...
- There's more ... Working with packages; How to do it ... ; How it works ... ; There's more ... ; Creating wheels and bundles; How to do it ... ; How it works ... ; There's more ... ; Comparing source code to bytecode; How to do it ... ; How it works ... ; There's more ... ; How to create and reference module packages; How to do it ... ; How it works ... ; There's more ... ; Operating system-specific binaries; How to do it ... ; There's more ... ; How to upload programs to PyPI; Getting ready; How to do it ... ; How it works ... ; Project packaging; How to do it ... ; Uploading to PyPI; Getting ready; How to do it ...
- How it works ... Chapter 2: Utilizing the Python Interpreter; Introduction; Launching Python environments; How to do it ... ; How it works ... ; Utilizing Python command options; How to do it ... ; How it works ... ; Interface options; Generic options; Miscellaneous options; See also ... ; Working with environment variables; How to do it ... ; How it works ... ; Making scripts executable; How to do it ... ; There's more ... ; Modifying interactive interpreter startup; How to do it ... ; See also; Alternative Python implementations; How to do it ... ; There's more ... ; Installing Python on Windows; Getting ready.
- How to do it ... Using the Windows Python launcher; How to do it ... ; Embedding Python with other applications; How to do it ... ; How it works ... ; Using alternative Python shells
- IPython; Getting ready; How to do it ... ; There's more ... ; Using alternative Python shells
- bpython; Getting ready; How to do it ... ; There's more ... ; Using alternative Python shells
- DreamPie; Getting ready; How to do it ... ; There's more ... ; Chapter 3: Working with Decorators; Introduction; Reviewing functions; How to do it ... ; How it works ... ; Introducing decorators; How to do it ... ; How it works ...
- Using function decoratorsHow to do it ... ; How it works ... ; Using class decorators; How to do it ... ; Examples of decorators; Getting ready; How to do it ... ; How it works ... ; There's more ... ; Using the decorators module; How to do it ... ; How it works ... ; There's more ... ; See also; Chapter 4: Using Python Collections; Introduction; Reviewing containers; How to do it ... ; There's more ... ; Lists and tuples; Dictionaries; Sets; Implementing namedtuple; How to do it ... ; There's more ... ; Implementing deque; How to do it ... ; Implementing ChainMap; How to do it ... ; Implementing Counters; How to do it ...