Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
SamtreePython
/
python-cookbook
Public
forked from
dabeaz/python-cookbook
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Files
Expand file tree
master
Breadcrumbs
python-cookbook
/
src
/
1
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
python-cookbook
/
src
/
1
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
calculating_with_dictionaries
calculating_with_dictionaries
determine_the_top_n_items_occurring_in_a_list
determine_the_top_n_items_occurring_in_a_list
extracting_a_subset_of_a_dictionary
extracting_a_subset_of_a_dictionary
filtering_list_elements
filtering_list_elements
finding_out_what_two_dictionaries_have_in_common
finding_out_what_two_dictionaries_have_in_common
finding_the_largest_or_smallest_n_items
finding_the_largest_or_smallest_n_items
grouping-records-together-based-on-a-field
grouping-records-together-based-on-a-field
implementing_a_priority_queue
implementing_a_priority_queue
keeping_the_last_n_items
keeping_the_last_n_items
mapping_names_to_sequence_elements
mapping_names_to_sequence_elements
removing_duplicates_from_a_sequence_while_maintaining_order
removing_duplicates_from_a_sequence_while_maintaining_order
sort_a_list_of_dictionaries_by_a_common_key
sort_a_list_of_dictionaries_by_a_common_key
sort_objects_without_native_comparison_support
sort_objects_without_native_comparison_support
transforming_and_reducing_data_at_the_same_time
transforming_and_reducing_data_at_the_same_time
unpack_a_fixed_number_of_elements_from_iterables_of_arbitrary_length
unpack_a_fixed_number_of_elements_from_iterables_of_arbitrary_length
working_with_multiple_mappings_as_a_single_mapping
working_with_multiple_mappings_as_a_single_mapping
View all files
You can’t perform that action at this time.