舉報

會員
Secret Recipes of the Python Ninja
Whetheryou’vebeenworkingwithPythonforafewyearsoryou’reaseasonedprogrammer,you’llhavealotofnewtrickstowalkawaywith.
最新章節
- Leave a review - let other readers know what you think
- Other Books You May Enjoy
- There's more...
- How to do it...
- Getting ready
- Using LaTeX and LyX document preparation programs
品牌:中圖公司
上架時間:2021-06-25 21:02:58
出版社:Packt Publishing
本書數字版權由中圖公司提供,并由其授權上海閱文信息技術有限公司制作發行
- Leave a review - let other readers know what you think 更新時間:2021-06-25 22:15:25
- Other Books You May Enjoy
- There's more...
- How to do it...
- Getting ready
- Using LaTeX and LyX document preparation programs
- How to do it...
- Getting ready
- Using the Sphinx documentation program
- How to do it...
- Getting ready
- Using reStructuredText files
- How to do it...
- HTML reports
- How to do it...
- Using PyDoc help
- There's more...
- How to do it...
- Using docstrings
- Inline comments and the dir command
- How to do it...
- Python documentation tools and techniques
- Introduction
- Documenting with LyX
- There's more...
- How to do it...
- PEP 543 – Unified TLS API
- How to do it...
- Python and security
- General security
- Getting ready
- PEP 551 – Security transparency
- There's more...
- Channels
- How it works...
- How to do it...
- PEP 554 – Multiple subinterpreters
- There's more...
- How to do it...
- Getting ready
- PEP 556 – Threaded garbage collection
- There's more...
- How to do it...
- What are PEPs?
- Introduction
- Python Enhancement Proposals
- There's more...
- How to do it...
- Some real-world examples
- There's more...
- Integer types
- Object restrictions
- Flow restrictions
- How to do it...
- What is RPython?
- There's more...
- How to do it...
- Getting ready
- What is PyPy?
- Introduction
- Improving Python Performance with PyPy
- How to do it...
- Getting ready
- Improving functionality with comath
- How to do it...
- Implementing basic statistics
- How to do it...
- Using the secrets module
- How to do it...
- Working with random numbers
- How to do it...
- Increasing accuracy with fractions
- How to do it...
- Improving decimal numbers
- How to do it...
- Working with complex numbers
- How to do it...
- Using the math module's functions and constants
- Working with Python's Math Module
- There's more...
- How to do it...
- How to implement multiprocessing
- Disadvantages
- Advantages
- There's more...
- How to do it...
- How to implement multithreading
- There's more...
- How it works...
- How to do it...
- Forking processes
- There's more...
- How to do it...
- When to use parallel processing
- There's more...
- How to do it...
- Simulating multithreading with coroutines
- There's more...
- How it works...
- How to do it...
- Using generator functions
- Terminating iterators
- Combinatoric iterators
- Infinite iterators
- How to do it...
- Using the itertools module
- How to do it...
- How iteration works in Python
- Generators Coroutines and Parallel Processing
- Bijection
- RangeMap
- bags
- setlist
- How to do it...
- Getting ready
- Looking at the collections – extended module
- Ordered dictionaries
- Named tuples
- Default dictionaries
- How to do it...
- Improving Python collections
- How to do it...
- Implementing UserString
- There's more...
- How to do it...
- Implementing UserList
- How to do it...
- Implementing UserDict
- How to do it...
- Implementing defaultdict
- How to do it...
- Implementing OrderedDict
- There's more...
- How to do it...
- Implementing Counters
- How to do it...
- Implementing ChainMap
- How to do it...
- Implementing deque
- There's more...
- How to do it...
- Implementing namedtuple
- Sets
- Dictionaries
- Lists and tuples
- There's more...
- How to do it...
- Reviewing containers
- Introduction
- Using Python Collections
- See also
- There's more...
- How it works...
- How to do it...
- Using the decorators module
- There's more...
- How it works...
- How to do it...
- Getting ready
- Examples of decorators
- How to do it...
- Using class decorators
- How it works...
- How to do it...
- Using function decorators
- How it works...
- How to do it...
- Introducing decorators
- How it works...
- How to do it...
- Reviewing functions
- Introduction
- Working with Decorators
- There's more...
- How to do it...
- Getting ready
- Using alternative Python shells – DreamPie
- There's more...
- How to do it...
- Getting ready
- Using alternative Python shells – bpython
- There's more...
- How to do it...
- Getting ready
- Using alternative Python shells – IPython
- How it works...
- How to do it...
- Embedding Python with other applications
- How to do it...
- Using the Windows Python launcher
- How to do it...
- Getting ready
- Installing Python on Windows
- There's more...
- How to do it...
- Alternative Python implementations
- See also
- How to do it...
- Modifying interactive interpreter startup
- There's more...
- How to do it...
- Making scripts executable
- How it works...
- How to do it...
- Working with environment variables
- See also...
- Miscellaneous options
- Generic options
- Interface options
- How it works...
- How to do it...
- Utilizing Python command options
- How it works...
- How to do it...
- Launching Python environments
- Introduction
- Utilizing the Python Interpreter
- How it works...
- How to do it...
- Getting ready
- Uploading to PyPI
- How to do it...
- Project packaging
- How it works...
- How to do it...
- Getting ready
- How to upload programs to PyPI
- There's more...
- How to do it...
- Operating system-specific binaries
- There's more...
- How it works...
- How to do it...
- How to create and reference module packages
- There's more...
- How it works...
- How to do it...
- Comparing source code to bytecode
- There's more...
- How it works...
- How to do it...
- Creating wheels and bundles
- There's more...
- How it works...
- How to do it...
- Working with packages
- There's more...
- How it works...
- How to do it...
- Using local patches and constraint files
- There's more...
- How it works...
- How to do it...
- Utilizing requirement files and resolving conflicts
- How it works...
- How to do it...
- Python package installation options
- There's more...
- How it works...
- How to do it...
- Getting ready
- Implementing virtual Python environments
- There's more...
- How it works...
- How to do it...
- Using and importing modules and namespaces
- Introduction
- Working with Python Modules
- Reviews
- Get in touch
- Conventions used
- Download the color images
- Download the example code files
- To get the most out of this book
- What this book covers
- Who this book is for
- Preface
- Packt is searching for authors like you
- About the reviewer
- About the author
- Contributors
- Foreword
- PacktPub.com
- Why subscribe?
- Packt Upsell
- 版權信息
- 封面
- 封面
- 版權信息
- Packt Upsell
- Why subscribe?
- PacktPub.com
- Foreword
- Contributors
- About the author
- About the reviewer
- Packt is searching for authors like you
- Preface
- Who this book is for
- What this book covers
- To get the most out of this book
- Download the example code files
- Download the color images
- Conventions used
- Get in touch
- Reviews
- 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...
- 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...
- Working with Decorators
- Introduction
- Reviewing functions
- How to do it...
- How it works...
- Introducing decorators
- How to do it...
- How it works...
- Using function decorators
- How 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
- 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...
- There's more...
- Implementing OrderedDict
- How to do it...
- Implementing defaultdict
- How to do it...
- Implementing UserDict
- How to do it...
- Implementing UserList
- How to do it...
- There's more...
- Implementing UserString
- How to do it...
- Improving Python collections
- How to do it...
- Default dictionaries
- Named tuples
- Ordered dictionaries
- Looking at the collections – extended module
- Getting ready
- How to do it...
- setlist
- bags
- RangeMap
- Bijection
- Generators Coroutines and Parallel Processing
- How iteration works in Python
- How to do it...
- Using the itertools module
- How to do it...
- Infinite iterators
- Combinatoric iterators
- Terminating iterators
- Using generator functions
- How to do it...
- How it works...
- There's more...
- Simulating multithreading with coroutines
- How to do it...
- There's more...
- When to use parallel processing
- How to do it...
- There's more...
- Forking processes
- How to do it...
- How it works...
- There's more...
- How to implement multithreading
- How to do it...
- There's more...
- Advantages
- Disadvantages
- How to implement multiprocessing
- How to do it...
- There's more...
- Working with Python's Math Module
- Using the math module's functions and constants
- How to do it...
- Working with complex numbers
- How to do it...
- Improving decimal numbers
- How to do it...
- Increasing accuracy with fractions
- How to do it...
- Working with random numbers
- How to do it...
- Using the secrets module
- How to do it...
- Implementing basic statistics
- How to do it...
- Improving functionality with comath
- Getting ready
- How to do it...
- Improving Python Performance with PyPy
- Introduction
- What is PyPy?
- Getting ready
- How to do it...
- There's more...
- What is RPython?
- How to do it...
- Flow restrictions
- Object restrictions
- Integer types
- There's more...
- Some real-world examples
- How to do it...
- There's more...
- Python Enhancement Proposals
- Introduction
- What are PEPs?
- How to do it...
- There's more...
- PEP 556 – Threaded garbage collection
- Getting ready
- How to do it...
- There's more...
- PEP 554 – Multiple subinterpreters
- How to do it...
- How it works...
- Channels
- There's more...
- PEP 551 – Security transparency
- Getting ready
- General security
- Python and security
- How to do it...
- PEP 543 – Unified TLS API
- How to do it...
- There's more...
- Documenting with LyX
- Introduction
- Python documentation tools and techniques
- How to do it...
- Inline comments and the dir command
- Using docstrings
- How to do it...
- There's more...
- Using PyDoc help
- How to do it...
- HTML reports
- How to do it...
- Using reStructuredText files
- Getting ready
- How to do it...
- Using the Sphinx documentation program
- Getting ready
- How to do it...
- Using LaTeX and LyX document preparation programs
- Getting ready
- How to do it...
- There's more...
- Other Books You May Enjoy
- Leave a review - let other readers know what you think 更新時間:2021-06-25 22:15:25