FileMood

Download David Beazley - Python Cookbook, 3rd edition - 2013

David Beazley Python Cookbook 3rd edition 2013

Name

David Beazley - Python Cookbook, 3rd edition - 2013

 DOWNLOAD Copy Link

Total Size

17.8 MB

Total Files

368

Hash

FE9926A919BE4BD6842A6D98044B00B24BC2934B

/

David Beazley - Python Cookbook, 3rd edition - 2013.epub

1.9 MB

David Beazley - Python Cookbook, 3rd edition - 2013.mobi

2.4 MB

David Beazley - Python Cookbook, 3rd edition - 2013.pdf

9.9 MB

/python-cookbook-master/

README.md

0.1 KB

/.../loading_modules_from_a_remote_machine_using_import_hooks/

explicit_load.py

0.6 KB

metaexample.py

0.3 KB

pathexample.py

0.3 KB

urlimport.py

7.7 KB

/.../loading_modules_from_a_remote_machine_using_import_hooks/testcode/

fib.py

0.1 KB

spam.py

0.1 KB

/.../loading_modules_from_a_remote_machine_using_import_hooks/testcode/grok/

__init__.py

0.0 KB

blah.py

0.0 KB

/.../making_separate_directories_import_under_a_common_namespace/bar-package/spam/

grok.py

0.0 KB

/.../making_separate_directories_import_under_a_common_namespace/

example.py

0.1 KB

/.../making_separate_directories_import_under_a_common_namespace/foo-package/spam/

blah.py

0.0 KB

/.../monkeypatching_modules_on_import/

example1.py

0.2 KB

example2.py

0.5 KB

postimport.py

1.0 KB

/.../splitting_a_module_into_multiple_files/

example.py

0.1 KB

/.../splitting_a_module_into_multiple_files/mymodule/

__init__.py

0.1 KB

a.py

0.1 KB

b.py

0.1 KB

/.../adding_ssl_to_network_servers/

echoclient.py

0.6 KB

echoserv.py

1.1 KB

makecerts.sh

0.2 KB

ssl_xmlrpc_client.py

1.1 KB

ssl_xmlrpc_server.py

1.4 KB

sslmixin.py

0.8 KB

/.../creating_a_simple_rest_based_interface/

client1.py

0.2 KB

example1.py

1.3 KB

resty.py

0.8 KB

/.../creating_a_tcp_server/

echoclient.py

0.2 KB

echoserv.py

0.5 KB

echoserv1.py

0.5 KB

echoserv2.py

0.5 KB

echoserv3.py

0.7 KB

echoserv4.py

0.7 KB

echoserv5.py

0.6 KB

threadedserv.py

0.7 KB

/.../creating_a_udp_server/

client.py

0.1 KB

timeserv1.py

0.5 KB

timeserv2.py

0.4 KB

/.../event_driven_io_explained/

eventhandler.py

0.9 KB

tcpclient.py

0.2 KB

tcpserver.py

1.8 KB

threadpool.py

2.0 KB

thrpoolclient.py

0.2 KB

udpclient.py

0.2 KB

udpserver.py

0.8 KB

/.../implementing_remote_procedure_call/

jsonrpclient.py

0.6 KB

jsonrpcserver.py

1.3 KB

rpcclient.py

0.7 KB

rpcserver.py

1.3 KB

/.../interacting_with_http_services_as_a_client/

example1.py

0.5 KB

example2.py

0.5 KB

example3.py

0.5 KB

example4.py

0.3 KB

/.../passing_a_socket_file_descriptor_between_processes/

client1.py

0.2 KB

server.py

1.1 KB

server1.py

1.3 KB

servermp.py

0.9 KB

worker.py

1.1 KB

workermp.py

0.8 KB

/.../simple_authentication_of_clients/

auth.py

0.7 KB

client.py

0.3 KB

server.py

0.6 KB

/.../simple_communication_between_interpreters/

echoclient.py

0.2 KB

echoserv.py

0.5 KB

/.../simple_remote_procedure_call_with_xmlrpc/

client.py

0.2 KB

keyserv.py

0.8 KB

/.../zero_copy_sending_and_receiving_of_large_arrays/

client.py

0.2 KB

server.py

0.2 KB

zerocopy.py

0.3 KB

/.../defining_an_actor_task/

actor.py

1.5 KB

tagged.py

0.5 KB

worker.py

0.8 KB

/.../how_to_communicate_between_threads/

example1.py

0.9 KB

example2.py

1.1 KB

/.../how_to_create_a_thread_pool/

example1.py

0.7 KB

example2.py

0.9 KB

example3.py

0.4 KB

/.../how_to_determine_if_a_thread_has_started/

example1.py

0.6 KB

example2.py

1.3 KB

example3.py

0.5 KB

/.../how_to_lock_critical_sections/

example1.py

1.0 KB

/.../how_to_start_and_stop_threads/

example.py

0.5 KB

/.../implementing_publish_subscribe_messaging/

exchange1.py

1.0 KB

exchange2.py

1.3 KB

/.../launching_a_daemon_process_on_unix/

daemon.py

2.6 KB

/.../locking_with_deadlock_avoidance/

deadlock.py

0.9 KB

example1.py

0.6 KB

example2.py

0.7 KB

example3.py

0.6 KB

/.../polling_multiple_thread_queues/

pqueue.py

1.7 KB

/.../simple_parallel_programming/

findrobots.py

0.9 KB

findrobots_par.py

1.0 KB

/.../simple_parallel_programming/logs/

20121217.log.gz

139.5 KB

20121218.log.gz

144.3 KB

20121219.log.gz

138.2 KB

20121220.log.gz

148.7 KB

20121221.log.gz

137.7 KB

20121222.log.gz

113.1 KB

20121223.log.gz

115.2 KB

20121224.log.gz

119.0 KB

20121225.log.gz

121.5 KB

20121226.log.gz

126.6 KB

20121227.log.gz

131.3 KB

20121228.log.gz

128.1 KB

20121229.log.gz

119.4 KB

20121230.log.gz

121.4 KB

/.../storing_thread_specific_state/

example1.py

1.3 KB

example2.py

1.8 KB

/.../using_generators_as_an_alternative_to_threads/

actorsched.py

1.6 KB

netsched.py

5.1 KB

simple.py

1.1 KB

/.../adding_logging_to_libraries/

somelib.py

0.2 KB

/.../executing_an_external_command_and_getting_its_output/

example1.py

0.3 KB

example2.py

0.3 KB

/src/13/finding_files/

modified_within.py

0.6 KB

/.../generating_a_range_of_ip_addresses_from_a_cidr_address/

example.py

0.8 KB

/.../getting_the_terminal_size/

example.py

0.1 KB

/src/13/making_a_stopwatch/

stopwatch.py

1.0 KB

/.../parsing_command_line_options/

search.py

1.0 KB

/.../prompting_for_a_password_at_runtime/

example.py

0.1 KB

/.../putting_limits_on_memory_and_cpu_usage/

example.py

0.5 KB

/.../reading_configuration_files/

config.ini

0.5 KB

example1.py

0.4 KB

/.../simple_logging_for_scripts/

example1.py

0.6 KB

example2.py

0.6 KB

logconfig.ini

0.3 KB

/.../logging_test_output_to_a_file/

test.py

1.1 KB

/.../make_your_programs_run_faster/

example.py

0.7 KB

/.../profiling_and_timing_your_program/

timethis.py

0.5 KB

/.../raising_an_exception_in_response_to_another_exception/

example.py

1.2 KB

/.../skipping_or_anticipating_test_failures/

test.py

0.6 KB

/.../testing_for_exceptional_conditions_in_unit_tests/

test.py

0.8 KB

/.../testing_output_sent_to_stdout/

mymodule.py

0.1 KB

testmymodule.py

0.6 KB

/.../accessing_c_code_using_ctypes/

example.py

0.2 KB

sample.py

2.2 KB

/.../calling_python_from_c/

embed.c

1.9 KB

Makefile

0.1 KB

/.../consuming_an_iterable_from_c/

example.py

0.2 KB

sample.c

1.0 KB

setup.py

0.2 KB

/.../defining_and_exporting_c_apis_from_extension_modules/

example.py

0.1 KB

ptexample.c

1.2 KB

ptsetup.py

0.3 KB

pysample.c

2.1 KB

pysample.h

0.7 KB

README.txt

0.1 KB

setup.py

0.2 KB

/.../diagnosing_segmentation_faults/

example.py

0.3 KB

sample.c

0.7 KB

setup.py

0.2 KB

/src/15/

Makefile

0.1 KB

sample.c

1.0 KB

sample.h

0.3 KB

/.../managing_opaque_pointers_in_c_extension_modules/

example.py

0.1 KB

pysample.c

1.7 KB

setup.py

0.2 KB

/.../passing_null_terminated_strings_to_c_libraries/

example.py

0.3 KB

sample.c

1.5 KB

setup.py

0.2 KB

/.../passing_unicode_strings_to_c_libraries/

example.py

0.1 KB

sample.c

1.4 KB

setup.py

0.2 KB

/.../reading_file_like_objects_from_c/

example.py

0.1 KB

sample.c

2.0 KB

setup.py

0.2 KB

/.../turning_a_function_pointer_into_a_callable/

example.py

0.4 KB

/.../using_cython_to_write_high_performance_array_operations/

example.py

0.8 KB

sample.pyx

1.5 KB

setup.py

0.3 KB

/.../working_with_c_strings_of_dubious_encoding/

example.py

0.1 KB

sample.c

1.6 KB

setup.py

0.2 KB

/.../wrapping_c_code_with_swig/

example.py

0.2 KB

sample.i

1.2 KB

setup.py

0.4 KB

/.../wrapping_existing_c_code_with_cython/

csample.pxd

0.3 KB

example.py

0.2 KB

sample.pyx

1.3 KB

sample_alt.pyx

1.3 KB

setup.py

0.4 KB

setup_alt.py

0.4 KB

/.../writing_a_simple_c_extension_module/

example.py

0.1 KB

pysample.c

1.5 KB

setup.py

0.2 KB

/.../writing_an_extension_function_that_operates_on_arrays/

example.py

0.2 KB

pysample.c

1.6 KB

setup.py

0.2 KB

/.../calculating_with_dictionaries/

example.py

0.5 KB

/.../determine_the_top_n_items_occurring_in_a_list/

example.py

0.6 KB

/.../extracting_a_subset_of_a_dictionary/

example.py

0.5 KB

/.../filtering_list_elements/

example.py

0.8 KB

/.../finding_out_what_two_dictionaries_have_in_common/

example.py

0.3 KB

/.../finding_the_largest_or_smallest_n_items/

example.py

0.6 KB

/.../grouping-records-together-based-on-a-field/

grouping.py

0.9 KB

/.../implementing_a_priority_queue/

example.py

0.8 KB

/.../keeping_the_last_n_items/

example.py

0.5 KB

somefile.txt

2.1 KB

/.../mapping_names_to_sequence_elements/

example1.py

0.4 KB

/.../removing_duplicates_from_a_sequence_while_maintaining_order/

example.py

0.3 KB

example2.py

0.5 KB

/.../sort_a_list_of_dictionaries_by_a_common_key/

example.py

0.7 KB

/.../sort_objects_without_native_comparison_support/

example.py

0.3 KB

/.../transforming_and_reducing_data_at_the_same_time/

example.py

0.6 KB

/.../unpack_a_fixed_number_of_elements_from_iterables_of_arbitrary_length/

example.py

0.3 KB

/.../working_with_multiple_mappings_as_a_single_mapping/

example.py

0.9 KB

/.../combining_and_concatenating_strings/

example.py

0.8 KB

/.../matching_and_searching_for_text_patterns_using_regular_expressions/

example.py

0.5 KB

/.../matching_strings_using_shell_wildcard_patterns/

example.py

0.4 KB

/.../normalizing_unicode_text_to_a_standard_representation/

example.py

0.7 KB

/.../reformatting_text_to_fixed_number_of_columns/

example.py

0.5 KB

/.../sanitizing_and_cleaning_up_text/

example.py

0.7 KB

/.../searching_and_replacing_text/

example.py

0.5 KB

/.../specifying_a_regular_expression_for_the_shortest_match/

example.py

0.4 KB

/.../splitting_strings_on_any_of_multiple_delimiters/

example.py

0.7 KB

/src/2/tokenizing_text/

example.py

0.6 KB

/.../variable_interpolation_in_strings/

example.py

0.6 KB

/.../writing_a_regular_expression_for_multiline_patterns/

example.py

0.2 KB

/.../writing_a_simple_recursive_descent_parser/

example.py

4.7 KB

plyexample.py

1.5 KB

/.../determining_last_fridays_date/

example.py

0.5 KB

/.../finding_the_date_range_for_the_current_month/

example.py

0.8 KB

/.../creating_data_processing_pipelines/

example.py

1.7 KB

/.../creating_data_processing_pipelines/www/bar/

access-log

651.6 KB

access-log-0108.bz2

46.1 KB

access-log-0208.bz2

46.1 KB

/.../creating_data_processing_pipelines/www/foo/

access-log

651.6 KB

access-log-0108.gz

72.3 KB

access-log-0208.gz

72.3 KB

/.../creating_new_iteration_patterns_with_generators/

example.py

0.2 KB

/src/4/delegating-iteration/

example.py

0.6 KB

/.../easy_implementation_of_the_iterator_protocol/

example.py

0.8 KB

hardexample.py

1.8 KB

/.../generators_with_state/

example.py

0.7 KB

somefile.txt

0.1 KB

/.../how_to_flatten_a_nested_sequence/

example.py

0.5 KB

/.../iterate_over_the_index-value_pairs_of_a_list/

example.py

0.4 KB

sample.dat

0.0 KB

/.../iterating_in_reverse/

example.py

0.5 KB

/.../iterating_in_sorted_order_over_merged_sorted_iterables/

example.py

0.1 KB

/.../iterating_on_items_in_separate_containers/

example.py

0.2 KB

/.../adding_or_changing_the_encoding_of_an_already_open_file/

example.py

0.2 KB

/.../getting_a_directory_listing/

example.py

0.5 KB

/.../iterating_over_fixed-sized_records/

data.bin

0.3 KB

example.py

0.3 KB

/.../reading_and_writing_text_data/

example.py

1.0 KB

sample.txt

0.0 KB

/.../wrapping_an_existing_file_descriptor_as_a_file_object/

echo.py

0.8 KB

/.../writing_bytes_to_a_text_file/

example.py

0.2 KB

/.../incremental_parsing_of_huge_xml_files/

example.py

1.2 KB

potholes.xml

92.0 KB

/.../parsing_modifying_and_rewriting_xml/

example.py

0.5 KB

pred.xml

0.4 KB

/.../parsing_simple_xml_data/

example.py

0.4 KB

/.../parsing_xml_documents_with_namespaces/

example.py

0.6 KB

sample.xml

0.3 KB

/.../reading_and_writing_binary_arrays_of_structures/

readrecords.py

0.4 KB

unpackrecords.py

0.4 KB

writerecords.py

0.5 KB

/.../reading_and_writing_csv_data/

example.py

1.5 KB

stocks.csv

0.3 KB

stocks.tsv

0.3 KB

/.../reading_and_writing_json_data/

example.py

1.2 KB

/.../reading_nested_and_variable_sized_binary_structures/

example1.py

1.1 KB

example2.py

1.8 KB

example3.py

2.7 KB

example4.py

3.7 KB

writepolys.py

1.0 KB

/.../accessing_variables_defined_inside_a_closure/

example1.py

0.5 KB

example2.py

0.9 KB

example3.py

0.6 KB

/.../carrying_extra_state_with_callback_functions/

example.py

2.2 KB

/.../functions_that_accept_any_number_of_arguments/

example.py

0.7 KB

/.../functions_that_only_accept_keyword_arguments/

example.py

0.5 KB

/.../functions_with_default_arguments/

example.py

0.7 KB

/.../inlining_callback_functions/

example.py

1.4 KB

/.../making_an_n-argument_callable_work_as_a_callable_with_fewer_arguments/

example1.py

0.3 KB

example2.py

0.5 KB

example3.py

0.7 KB

/.../calling_a_method_on_a_parent_class/

example1.py

0.2 KB

example2.py

0.2 KB

example3.py

0.7 KB

example4.py

0.6 KB

example5.py

0.6 KB

/.../calling_a_method_on_an_object_given_the_name_as_a_string/

example.py

0.8 KB

/.../changing_the_string_representation_of_instances/

example.py

0.2 KB

/.../creating_a_new_kind_of_class_or_instance_attribute/

example1.py

0.8 KB

example2.py

1.3 KB

/.../creating_an_instance_without_invoking_init/

example.py

0.6 KB

/.../creating_cached_instances/

example1.py

0.5 KB

example2.py

0.6 KB

example3.py

0.6 KB

/.../creating_managed_attributes/

example.py

0.6 KB

/src/8/customized_formatting/

example1.py

0.4 KB

/.../delegation_and_proxies/

example1.py

0.4 KB

example2.py

1.2 KB

example3.py

0.6 KB

example4.py

0.4 KB

/.../extending_a_property_in_a_subclass/

example.py

1.4 KB

example2.py

1.1 KB

/.../extending_classes_with_mixins/

example1.py

1.8 KB

example2.py

0.7 KB

example3.py

0.7 KB

/.../how_to_define_an_interface_or_abstract_base_class/

example.py

1.2 KB

example2.py

0.4 KB

/.../how_to_define_more_than_one_constructor_in_a_class/

example.py

0.6 KB

example2.py

0.7 KB

/.../how_to_encapsulate_names_in_a_class/

example.py

0.6 KB

/.../implementing_a_data_model_or_type_system/

example.py

3.7 KB

example_clsdec.py

3.9 KB

/.../implementing_custom_containers/

example1.py

0.8 KB

example2.py

0.9 KB

/.../implementing_stateful_objects_or_state_machines/

example1.py

1.1 KB

example2.py

1.8 KB

/.../implementing_the_visitor_pattern/

example.py

2.8 KB

/.../implementing_the_visitor_pattern_without_recursion/

example1.py

1.6 KB

example2.py

1.5 KB

example3.py

2.6 KB

node.py

1.1 KB

/.../lazily_computed_attributes/

example1.py

0.7 KB

example2.py

0.7 KB

/.../making_classes_support_comparison_operations/

example.py

1.9 KB

/.../making_objects_support_the_context_manager_protocol/

example1.py

1.0 KB

example2.py

1.4 KB

/.../managing_memory_in_cyclic_data_structures/

example.py

0.8 KB

/.../simplified_initialization_of_data_structures/

example1.py

0.9 KB

example2.py

0.9 KB

example3.py

0.9 KB

/.../applying_decorators_to_class_and_static_methods/

example.py

0.9 KB

/.../avoiding_repetitive_property_methods/

example1.py

0.7 KB

/.../capturing_class_attribute_definition_order/

example1.py

1.7 KB

example2.py

0.9 KB

/.../defining_a_decorator_that_takes_an_optional_argument/

example.py

0.8 KB

/.../defining_a_decorator_that_takes_arguments/

example.py

0.9 KB

/.../defining_a_decorator_with_user_adjustable_attributes/

example1.py

2.2 KB

example2.py

1.3 KB

/.../defining_a_metaclass_that_takes_optional_arguments/

example.py

0.8 KB

/.../defining_classes_programmatically/

example1.py

0.5 KB

example2.py

1.1 KB

/.../defining_context_managers_the_easy_way/

example1.py

0.3 KB

example2.py

0.6 KB

/.../defining_decorators_as_classes/

example1.py

0.8 KB

example2.py

0.6 KB

example3.py

1.1 KB

/.../defining_decorators_as_part_of_a_class/

example1.py

0.7 KB

example2.py

0.4 KB

/.../disassembling_python_byte_code/

example.py

0.8 KB

/.../enforcing_an_argument_signature/

example1.py

1.3 KB

example2.py

1.4 KB

/.../enforcing_coding_conventions_in_classes/

example1.py

0.5 KB

example2.py

1.2 KB

/.../enforcing_type_checking_on_a_function_using_a_decorator/

example.py

1.4 KB

/.../executing_code_with_local_side_effects/

example.py

0.8 KB

/.../initializing_class_members_at_definition_time/

example.py

0.9 KB

/.../monkeypatching_class_definitions/

example.py

0.5 KB

/.../multiple_dispatch_with_function_annotations/

example1.py

3.5 KB

example2.py

1.4 KB

/.../parsing_and_analyzing_python_source/

example1.py

0.8 KB

namelower.py

2.0 KB

/.../preserving_function_metadata_when_writing_decorators/

example.py

0.7 KB

/src/9/unwrapping_a_decorator/

example.py

0.5 KB

/.../using_metaclasses_to_control_instance_creation/

example1.py

0.4 KB

example2.py

0.6 KB

example3.py

0.7 KB

 

Total files 368


Copyright © 2024 FileMood.com