├── Chapter01 └── ch1 │ ├── bike.py │ ├── example │ ├── core.py │ ├── run.py │ └── util │ │ ├── __init__.py │ │ ├── db.py │ │ ├── math.py │ │ └── network.py │ ├── factorial.py │ ├── files_only │ ├── core.py │ ├── db.py │ ├── math.py │ ├── network.py │ └── run.py │ ├── names.py │ ├── scopes1.py │ ├── scopes2.py │ ├── scopes3.py │ └── virtualenv.creation.txt ├── Chapter02 └── ch2 │ ├── README.md │ ├── bytearray.py │ ├── chainmap.py │ ├── defaultdict.py │ ├── dicts.py │ ├── enum.py │ ├── final_considerations.py │ ├── lists.py │ ├── namedtuple.py │ ├── numbers.py │ ├── objects.py │ ├── sequences.py │ ├── sets.py │ └── tuples.py ├── Chapter03 └── ch3 │ ├── any.py │ ├── binary.2.py │ ├── binary.py │ ├── compress.py │ ├── conditional.1.py │ ├── conditional.2.py │ ├── coupons.dict.py │ ├── coupons.py │ ├── discount.py │ ├── errorsalert.py │ ├── for.else.py │ ├── for.no.else.py │ ├── infinite.py │ ├── multiple.sequences.enumerate.py │ ├── multiple.sequences.explicit.py │ ├── multiple.sequences.implicit.py │ ├── multiple.sequences.py │ ├── multiple.sequences.while.py │ ├── multiple.sequences.zip.py │ ├── permutations.py │ ├── primes.else.py │ ├── primes.py │ ├── range.py │ ├── simple.for.2.py │ ├── simple.for.3.py │ ├── simple.for.4.py │ ├── simple.for.py │ ├── switch.js │ ├── switch.py │ ├── taxes.py │ └── ternary.py ├── Chapter04 └── ch4 │ ├── additional.unpacking.py │ ├── arguments.all.kwonly.py │ ├── arguments.all.py │ ├── arguments.default.error.py │ ├── arguments.default.py │ ├── arguments.defaults.mutable.intermediate.call.py │ ├── arguments.defaults.mutable.no.trap.py │ ├── arguments.defaults.mutable.py │ ├── arguments.keyword.only.py │ ├── arguments.keyword.py │ ├── arguments.positional.py │ ├── arguments.variable.db.py │ ├── arguments.variable.keyword.py │ ├── arguments.variable.positional.py │ ├── arguments.variable.positional.unpacking.py │ ├── data.science.example.py │ ├── docstrings.py │ ├── filter.lambda.py │ ├── filter.regular.py │ ├── func.attributes.py │ ├── func_from.py │ ├── func_import.py │ ├── key.points.argument.passing.py │ ├── key.points.assignment.py │ ├── key.points.mutable.assignment.py │ ├── key.points.mutable.py │ ├── lambda.explained.py │ ├── lib │ ├── __init__.py │ └── funcdef.py │ ├── matrix.multiplication.func.py │ ├── matrix.multiplication.nofunc.py │ ├── no.side.effects.py │ ├── primes.py │ ├── recursive.factorial.py │ ├── return.multiple.py │ ├── return.none.py │ ├── return.single.value.2.py │ ├── return.single.value.py │ ├── scoping.level.1.py │ ├── scoping.level.2.global.py │ ├── scoping.level.2.nonlocal.py │ ├── scoping.level.2.py │ ├── vat.function.py │ └── vat.py ├── Chapter05 └── ch5 │ ├── files │ ├── buffer.py │ ├── compression │ │ ├── content1.txt │ │ ├── content2.txt │ │ ├── subfolder │ │ │ ├── content3.txt │ │ │ └── content4.txt │ │ ├── tar.py │ │ └── zip.py │ ├── existence.py │ ├── fear.txt │ ├── fixed_amount.py │ ├── listing.py │ ├── manipulation.py │ ├── open_try.py │ ├── open_with.py │ ├── ops_create.py │ ├── paths.py │ ├── print_file.py │ ├── read_write.py │ ├── read_write_bin.py │ ├── tmp.py │ ├── walking.py │ └── write_not_exists.py │ ├── io_examples │ ├── reqs.py │ ├── reqs_post.py │ └── string_io.py │ ├── json_examples │ ├── json_basic.py │ ├── json_cplx.py │ ├── json_datetime.py │ └── json_tuple.py │ └── persistence │ ├── alchemy.py │ ├── alchemy_models.py │ ├── pickler.py │ └── shelf.py ├── Chapter07 ├── circularly_linked_list.py ├── doubly_linked_list.py └── singly_linked_list.py ├── Chapter08 ├── queue.py ├── queue_application.py └── stack_queue_1.py ├── Chapter09 ├── bintree_tree.py └── rpn.py ├── Chapter10 ├── hash.py ├── hashf.py └── hashtable.py ├── Chapter11 └── heap.py ├── Chapter12 ├── bin_search.py ├── interpolation_search.py ├── ordered_list_search.py └── unordered_list_search.py ├── Chapter13 ├── bubble.py ├── insert_sort.py ├── proper_quick_sort.py └── selection_sortion.py ├── Chapter14 ├── deterministic_search.py └── randomized_search.py ├── Chapter16 ├── Case Study_ Notebook │ ├── command_option.py │ ├── menu.py │ └── notebook.py ├── first_class.py ├── guarding.py ├── inner_class.py ├── name_mangling.py └── point.py ├── Chapter17 ├── Case Study_ Online Grader │ ├── example_runner.py │ ├── grader.py │ └── lessons.py ├── audio_player.py ├── contact.py ├── contact_multiple_inheritance.py ├── multiple_inheritance_bad_demo.py ├── multiple_inheritance_super.py └── odd_container.py ├── Chapter18 ├── Case Study_ Authorization │ ├── auth.py │ └── auth_driver.py ├── all_exception_syntax.py ├── even_integers.py ├── funny_division.py ├── inventory.py └── no_return.py ├── Chapter19 ├── Document.py ├── cached_webpage.py ├── colors.py ├── points.py ├── silly.py ├── zip_find_replace.py └── zip_processor.py ├── Chapter20 ├── Case Study_ Mailing Lists │ ├── addresses.db │ └── mailing_list.py ├── augmented_move.py ├── custom_sequence.py ├── default_options.py ├── enumerate_lines.py ├── event_timer.py └── passing_functions.py ├── Chapter21 ├── Case Study_ Machine Learning │ ├── check_output.py │ ├── colors.csv │ ├── machine_learn.py │ ├── manual_classify.py │ ├── output.csv │ └── second_edition_machine_learn_with_coroutines.py ├── EXAMPLE_LOG.log ├── book_authors.py ├── capital_iterator.py ├── filesystem_generator.py ├── list_comp.py ├── list_comp_read_file.py ├── log_loop.py ├── sample_log.txt ├── score_tally.py ├── warning_generators.py └── xfs_error_log.py ├── Chapter22 ├── car_sales_template.py ├── inventory_observer.py ├── log_calls_decorator.py ├── singleton_state.py ├── socket_client.py ├── socket_decorator.py ├── tiling_strategy.py ├── xml_example.xml └── xml_state_parser.py ├── Chapter23 ├── age_calculator_adapter.py ├── car_flyweight.py ├── email_facade.py ├── folder_composite.py ├── formatter_factory.py ├── pythonic_window_command.py └── window_command.py ├── Chapter24 ├── Case Study_ Vigenère cipher │ ├── test_vigenere.py │ └── vigenere_cipher.py ├── average_raises.py ├── echo_server.py ├── first_unittest.py ├── flight_status_redis.py ├── stats.py ├── stats_list_setup.py ├── test_echo_server.py ├── test_flight_status.py ├── test_pytest_cleanup.py ├── test_pytest_setups.py ├── test_pytest_skipping.py ├── test_pytest_stats.py ├── test_skipping.py ├── test_statslist_setup.py └── test_with_pytest.py ├── LICENSE └── README.md /Chapter01/ch1/bike.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter01/ch1/bike.py -------------------------------------------------------------------------------- /Chapter01/ch1/example/core.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter01/ch1/example/run.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter01/ch1/example/util/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter01/ch1/example/util/db.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter01/ch1/example/util/math.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter01/ch1/example/util/network.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter01/ch1/factorial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter01/ch1/factorial.py -------------------------------------------------------------------------------- /Chapter01/ch1/files_only/core.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter01/ch1/files_only/db.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter01/ch1/files_only/math.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter01/ch1/files_only/network.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter01/ch1/files_only/run.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter01/ch1/names.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter01/ch1/names.py -------------------------------------------------------------------------------- /Chapter01/ch1/scopes1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter01/ch1/scopes1.py -------------------------------------------------------------------------------- /Chapter01/ch1/scopes2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter01/ch1/scopes2.py -------------------------------------------------------------------------------- /Chapter01/ch1/scopes3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter01/ch1/scopes3.py -------------------------------------------------------------------------------- /Chapter01/ch1/virtualenv.creation.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter01/ch1/virtualenv.creation.txt -------------------------------------------------------------------------------- /Chapter02/ch2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter02/ch2/README.md -------------------------------------------------------------------------------- /Chapter02/ch2/bytearray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter02/ch2/bytearray.py -------------------------------------------------------------------------------- /Chapter02/ch2/chainmap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter02/ch2/chainmap.py -------------------------------------------------------------------------------- /Chapter02/ch2/defaultdict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter02/ch2/defaultdict.py -------------------------------------------------------------------------------- /Chapter02/ch2/dicts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter02/ch2/dicts.py -------------------------------------------------------------------------------- /Chapter02/ch2/enum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter02/ch2/enum.py -------------------------------------------------------------------------------- /Chapter02/ch2/final_considerations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter02/ch2/final_considerations.py -------------------------------------------------------------------------------- /Chapter02/ch2/lists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter02/ch2/lists.py -------------------------------------------------------------------------------- /Chapter02/ch2/namedtuple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter02/ch2/namedtuple.py -------------------------------------------------------------------------------- /Chapter02/ch2/numbers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter02/ch2/numbers.py -------------------------------------------------------------------------------- /Chapter02/ch2/objects.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter02/ch2/objects.py -------------------------------------------------------------------------------- /Chapter02/ch2/sequences.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter02/ch2/sequences.py -------------------------------------------------------------------------------- /Chapter02/ch2/sets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter02/ch2/sets.py -------------------------------------------------------------------------------- /Chapter02/ch2/tuples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter02/ch2/tuples.py -------------------------------------------------------------------------------- /Chapter03/ch3/any.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/any.py -------------------------------------------------------------------------------- /Chapter03/ch3/binary.2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/binary.2.py -------------------------------------------------------------------------------- /Chapter03/ch3/binary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/binary.py -------------------------------------------------------------------------------- /Chapter03/ch3/compress.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/compress.py -------------------------------------------------------------------------------- /Chapter03/ch3/conditional.1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/conditional.1.py -------------------------------------------------------------------------------- /Chapter03/ch3/conditional.2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/conditional.2.py -------------------------------------------------------------------------------- /Chapter03/ch3/coupons.dict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/coupons.dict.py -------------------------------------------------------------------------------- /Chapter03/ch3/coupons.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/coupons.py -------------------------------------------------------------------------------- /Chapter03/ch3/discount.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/discount.py -------------------------------------------------------------------------------- /Chapter03/ch3/errorsalert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/errorsalert.py -------------------------------------------------------------------------------- /Chapter03/ch3/for.else.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/for.else.py -------------------------------------------------------------------------------- /Chapter03/ch3/for.no.else.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/for.no.else.py -------------------------------------------------------------------------------- /Chapter03/ch3/infinite.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/infinite.py -------------------------------------------------------------------------------- /Chapter03/ch3/multiple.sequences.enumerate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/multiple.sequences.enumerate.py -------------------------------------------------------------------------------- /Chapter03/ch3/multiple.sequences.explicit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/multiple.sequences.explicit.py -------------------------------------------------------------------------------- /Chapter03/ch3/multiple.sequences.implicit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/multiple.sequences.implicit.py -------------------------------------------------------------------------------- /Chapter03/ch3/multiple.sequences.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/multiple.sequences.py -------------------------------------------------------------------------------- /Chapter03/ch3/multiple.sequences.while.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/multiple.sequences.while.py -------------------------------------------------------------------------------- /Chapter03/ch3/multiple.sequences.zip.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/multiple.sequences.zip.py -------------------------------------------------------------------------------- /Chapter03/ch3/permutations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/permutations.py -------------------------------------------------------------------------------- /Chapter03/ch3/primes.else.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/primes.else.py -------------------------------------------------------------------------------- /Chapter03/ch3/primes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/primes.py -------------------------------------------------------------------------------- /Chapter03/ch3/range.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/range.py -------------------------------------------------------------------------------- /Chapter03/ch3/simple.for.2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/simple.for.2.py -------------------------------------------------------------------------------- /Chapter03/ch3/simple.for.3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/simple.for.3.py -------------------------------------------------------------------------------- /Chapter03/ch3/simple.for.4.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/simple.for.4.py -------------------------------------------------------------------------------- /Chapter03/ch3/simple.for.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/simple.for.py -------------------------------------------------------------------------------- /Chapter03/ch3/switch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/switch.js -------------------------------------------------------------------------------- /Chapter03/ch3/switch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/switch.py -------------------------------------------------------------------------------- /Chapter03/ch3/taxes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/taxes.py -------------------------------------------------------------------------------- /Chapter03/ch3/ternary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter03/ch3/ternary.py -------------------------------------------------------------------------------- /Chapter04/ch4/additional.unpacking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/additional.unpacking.py -------------------------------------------------------------------------------- /Chapter04/ch4/arguments.all.kwonly.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/arguments.all.kwonly.py -------------------------------------------------------------------------------- /Chapter04/ch4/arguments.all.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/arguments.all.py -------------------------------------------------------------------------------- /Chapter04/ch4/arguments.default.error.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/arguments.default.error.py -------------------------------------------------------------------------------- /Chapter04/ch4/arguments.default.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/arguments.default.py -------------------------------------------------------------------------------- /Chapter04/ch4/arguments.defaults.mutable.intermediate.call.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/arguments.defaults.mutable.intermediate.call.py -------------------------------------------------------------------------------- /Chapter04/ch4/arguments.defaults.mutable.no.trap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/arguments.defaults.mutable.no.trap.py -------------------------------------------------------------------------------- /Chapter04/ch4/arguments.defaults.mutable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/arguments.defaults.mutable.py -------------------------------------------------------------------------------- /Chapter04/ch4/arguments.keyword.only.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/arguments.keyword.only.py -------------------------------------------------------------------------------- /Chapter04/ch4/arguments.keyword.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/arguments.keyword.py -------------------------------------------------------------------------------- /Chapter04/ch4/arguments.positional.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/arguments.positional.py -------------------------------------------------------------------------------- /Chapter04/ch4/arguments.variable.db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/arguments.variable.db.py -------------------------------------------------------------------------------- /Chapter04/ch4/arguments.variable.keyword.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/arguments.variable.keyword.py -------------------------------------------------------------------------------- /Chapter04/ch4/arguments.variable.positional.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/arguments.variable.positional.py -------------------------------------------------------------------------------- /Chapter04/ch4/arguments.variable.positional.unpacking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/arguments.variable.positional.unpacking.py -------------------------------------------------------------------------------- /Chapter04/ch4/data.science.example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/data.science.example.py -------------------------------------------------------------------------------- /Chapter04/ch4/docstrings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/docstrings.py -------------------------------------------------------------------------------- /Chapter04/ch4/filter.lambda.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/filter.lambda.py -------------------------------------------------------------------------------- /Chapter04/ch4/filter.regular.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/filter.regular.py -------------------------------------------------------------------------------- /Chapter04/ch4/func.attributes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/func.attributes.py -------------------------------------------------------------------------------- /Chapter04/ch4/func_from.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/func_from.py -------------------------------------------------------------------------------- /Chapter04/ch4/func_import.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/func_import.py -------------------------------------------------------------------------------- /Chapter04/ch4/key.points.argument.passing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/key.points.argument.passing.py -------------------------------------------------------------------------------- /Chapter04/ch4/key.points.assignment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/key.points.assignment.py -------------------------------------------------------------------------------- /Chapter04/ch4/key.points.mutable.assignment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/key.points.mutable.assignment.py -------------------------------------------------------------------------------- /Chapter04/ch4/key.points.mutable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/key.points.mutable.py -------------------------------------------------------------------------------- /Chapter04/ch4/lambda.explained.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/lambda.explained.py -------------------------------------------------------------------------------- /Chapter04/ch4/lib/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter04/ch4/lib/funcdef.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/lib/funcdef.py -------------------------------------------------------------------------------- /Chapter04/ch4/matrix.multiplication.func.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/matrix.multiplication.func.py -------------------------------------------------------------------------------- /Chapter04/ch4/matrix.multiplication.nofunc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/matrix.multiplication.nofunc.py -------------------------------------------------------------------------------- /Chapter04/ch4/no.side.effects.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/no.side.effects.py -------------------------------------------------------------------------------- /Chapter04/ch4/primes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/primes.py -------------------------------------------------------------------------------- /Chapter04/ch4/recursive.factorial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/recursive.factorial.py -------------------------------------------------------------------------------- /Chapter04/ch4/return.multiple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/return.multiple.py -------------------------------------------------------------------------------- /Chapter04/ch4/return.none.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/return.none.py -------------------------------------------------------------------------------- /Chapter04/ch4/return.single.value.2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/return.single.value.2.py -------------------------------------------------------------------------------- /Chapter04/ch4/return.single.value.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/return.single.value.py -------------------------------------------------------------------------------- /Chapter04/ch4/scoping.level.1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/scoping.level.1.py -------------------------------------------------------------------------------- /Chapter04/ch4/scoping.level.2.global.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/scoping.level.2.global.py -------------------------------------------------------------------------------- /Chapter04/ch4/scoping.level.2.nonlocal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/scoping.level.2.nonlocal.py -------------------------------------------------------------------------------- /Chapter04/ch4/scoping.level.2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/scoping.level.2.py -------------------------------------------------------------------------------- /Chapter04/ch4/vat.function.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/vat.function.py -------------------------------------------------------------------------------- /Chapter04/ch4/vat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter04/ch4/vat.py -------------------------------------------------------------------------------- /Chapter05/ch5/files/buffer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/files/buffer.py -------------------------------------------------------------------------------- /Chapter05/ch5/files/compression/content1.txt: -------------------------------------------------------------------------------- 1 | This is content1.txt -------------------------------------------------------------------------------- /Chapter05/ch5/files/compression/content2.txt: -------------------------------------------------------------------------------- 1 | This is content2.txt -------------------------------------------------------------------------------- /Chapter05/ch5/files/compression/subfolder/content3.txt: -------------------------------------------------------------------------------- 1 | This is subfolder/content3.txt -------------------------------------------------------------------------------- /Chapter05/ch5/files/compression/subfolder/content4.txt: -------------------------------------------------------------------------------- 1 | This is subfolder/content4.txt -------------------------------------------------------------------------------- /Chapter05/ch5/files/compression/tar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/files/compression/tar.py -------------------------------------------------------------------------------- /Chapter05/ch5/files/compression/zip.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/files/compression/zip.py -------------------------------------------------------------------------------- /Chapter05/ch5/files/existence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/files/existence.py -------------------------------------------------------------------------------- /Chapter05/ch5/files/fear.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/files/fear.txt -------------------------------------------------------------------------------- /Chapter05/ch5/files/fixed_amount.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/files/fixed_amount.py -------------------------------------------------------------------------------- /Chapter05/ch5/files/listing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/files/listing.py -------------------------------------------------------------------------------- /Chapter05/ch5/files/manipulation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/files/manipulation.py -------------------------------------------------------------------------------- /Chapter05/ch5/files/open_try.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/files/open_try.py -------------------------------------------------------------------------------- /Chapter05/ch5/files/open_with.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/files/open_with.py -------------------------------------------------------------------------------- /Chapter05/ch5/files/ops_create.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/files/ops_create.py -------------------------------------------------------------------------------- /Chapter05/ch5/files/paths.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/files/paths.py -------------------------------------------------------------------------------- /Chapter05/ch5/files/print_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/files/print_file.py -------------------------------------------------------------------------------- /Chapter05/ch5/files/read_write.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/files/read_write.py -------------------------------------------------------------------------------- /Chapter05/ch5/files/read_write_bin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/files/read_write_bin.py -------------------------------------------------------------------------------- /Chapter05/ch5/files/tmp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/files/tmp.py -------------------------------------------------------------------------------- /Chapter05/ch5/files/walking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/files/walking.py -------------------------------------------------------------------------------- /Chapter05/ch5/files/write_not_exists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/files/write_not_exists.py -------------------------------------------------------------------------------- /Chapter05/ch5/io_examples/reqs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/io_examples/reqs.py -------------------------------------------------------------------------------- /Chapter05/ch5/io_examples/reqs_post.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/io_examples/reqs_post.py -------------------------------------------------------------------------------- /Chapter05/ch5/io_examples/string_io.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/io_examples/string_io.py -------------------------------------------------------------------------------- /Chapter05/ch5/json_examples/json_basic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/json_examples/json_basic.py -------------------------------------------------------------------------------- /Chapter05/ch5/json_examples/json_cplx.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/json_examples/json_cplx.py -------------------------------------------------------------------------------- /Chapter05/ch5/json_examples/json_datetime.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/json_examples/json_datetime.py -------------------------------------------------------------------------------- /Chapter05/ch5/json_examples/json_tuple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/json_examples/json_tuple.py -------------------------------------------------------------------------------- /Chapter05/ch5/persistence/alchemy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/persistence/alchemy.py -------------------------------------------------------------------------------- /Chapter05/ch5/persistence/alchemy_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/persistence/alchemy_models.py -------------------------------------------------------------------------------- /Chapter05/ch5/persistence/pickler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/persistence/pickler.py -------------------------------------------------------------------------------- /Chapter05/ch5/persistence/shelf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter05/ch5/persistence/shelf.py -------------------------------------------------------------------------------- /Chapter07/circularly_linked_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter07/circularly_linked_list.py -------------------------------------------------------------------------------- /Chapter07/doubly_linked_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter07/doubly_linked_list.py -------------------------------------------------------------------------------- /Chapter07/singly_linked_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter07/singly_linked_list.py -------------------------------------------------------------------------------- /Chapter08/queue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter08/queue.py -------------------------------------------------------------------------------- /Chapter08/queue_application.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter08/queue_application.py -------------------------------------------------------------------------------- /Chapter08/stack_queue_1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter08/stack_queue_1.py -------------------------------------------------------------------------------- /Chapter09/bintree_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter09/bintree_tree.py -------------------------------------------------------------------------------- /Chapter09/rpn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter09/rpn.py -------------------------------------------------------------------------------- /Chapter10/hash.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter10/hash.py -------------------------------------------------------------------------------- /Chapter10/hashf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter10/hashf.py -------------------------------------------------------------------------------- /Chapter10/hashtable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter10/hashtable.py -------------------------------------------------------------------------------- /Chapter11/heap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter11/heap.py -------------------------------------------------------------------------------- /Chapter12/bin_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter12/bin_search.py -------------------------------------------------------------------------------- /Chapter12/interpolation_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter12/interpolation_search.py -------------------------------------------------------------------------------- /Chapter12/ordered_list_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter12/ordered_list_search.py -------------------------------------------------------------------------------- /Chapter12/unordered_list_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter12/unordered_list_search.py -------------------------------------------------------------------------------- /Chapter13/bubble.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter13/bubble.py -------------------------------------------------------------------------------- /Chapter13/insert_sort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter13/insert_sort.py -------------------------------------------------------------------------------- /Chapter13/proper_quick_sort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter13/proper_quick_sort.py -------------------------------------------------------------------------------- /Chapter13/selection_sortion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter13/selection_sortion.py -------------------------------------------------------------------------------- /Chapter14/deterministic_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter14/deterministic_search.py -------------------------------------------------------------------------------- /Chapter14/randomized_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter14/randomized_search.py -------------------------------------------------------------------------------- /Chapter16/Case Study_ Notebook/command_option.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter16/Case Study_ Notebook/menu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter16/Case Study_ Notebook/menu.py -------------------------------------------------------------------------------- /Chapter16/Case Study_ Notebook/notebook.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter16/Case Study_ Notebook/notebook.py -------------------------------------------------------------------------------- /Chapter16/first_class.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter16/first_class.py -------------------------------------------------------------------------------- /Chapter16/guarding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter16/guarding.py -------------------------------------------------------------------------------- /Chapter16/inner_class.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter16/inner_class.py -------------------------------------------------------------------------------- /Chapter16/name_mangling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter16/name_mangling.py -------------------------------------------------------------------------------- /Chapter16/point.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter16/point.py -------------------------------------------------------------------------------- /Chapter17/Case Study_ Online Grader/example_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter17/Case Study_ Online Grader/example_runner.py -------------------------------------------------------------------------------- /Chapter17/Case Study_ Online Grader/grader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter17/Case Study_ Online Grader/grader.py -------------------------------------------------------------------------------- /Chapter17/Case Study_ Online Grader/lessons.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter17/Case Study_ Online Grader/lessons.py -------------------------------------------------------------------------------- /Chapter17/audio_player.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter17/audio_player.py -------------------------------------------------------------------------------- /Chapter17/contact.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter17/contact.py -------------------------------------------------------------------------------- /Chapter17/contact_multiple_inheritance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter17/contact_multiple_inheritance.py -------------------------------------------------------------------------------- /Chapter17/multiple_inheritance_bad_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter17/multiple_inheritance_bad_demo.py -------------------------------------------------------------------------------- /Chapter17/multiple_inheritance_super.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter17/multiple_inheritance_super.py -------------------------------------------------------------------------------- /Chapter17/odd_container.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter17/odd_container.py -------------------------------------------------------------------------------- /Chapter18/Case Study_ Authorization/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter18/Case Study_ Authorization/auth.py -------------------------------------------------------------------------------- /Chapter18/Case Study_ Authorization/auth_driver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter18/Case Study_ Authorization/auth_driver.py -------------------------------------------------------------------------------- /Chapter18/all_exception_syntax.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter18/all_exception_syntax.py -------------------------------------------------------------------------------- /Chapter18/even_integers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter18/even_integers.py -------------------------------------------------------------------------------- /Chapter18/funny_division.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter18/funny_division.py -------------------------------------------------------------------------------- /Chapter18/inventory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter18/inventory.py -------------------------------------------------------------------------------- /Chapter18/no_return.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter18/no_return.py -------------------------------------------------------------------------------- /Chapter19/Document.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter19/Document.py -------------------------------------------------------------------------------- /Chapter19/cached_webpage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter19/cached_webpage.py -------------------------------------------------------------------------------- /Chapter19/colors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter19/colors.py -------------------------------------------------------------------------------- /Chapter19/points.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter19/points.py -------------------------------------------------------------------------------- /Chapter19/silly.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter19/silly.py -------------------------------------------------------------------------------- /Chapter19/zip_find_replace.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter19/zip_find_replace.py -------------------------------------------------------------------------------- /Chapter19/zip_processor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter19/zip_processor.py -------------------------------------------------------------------------------- /Chapter20/Case Study_ Mailing Lists/addresses.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter20/Case Study_ Mailing Lists/addresses.db -------------------------------------------------------------------------------- /Chapter20/Case Study_ Mailing Lists/mailing_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter20/Case Study_ Mailing Lists/mailing_list.py -------------------------------------------------------------------------------- /Chapter20/augmented_move.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter20/augmented_move.py -------------------------------------------------------------------------------- /Chapter20/custom_sequence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter20/custom_sequence.py -------------------------------------------------------------------------------- /Chapter20/default_options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter20/default_options.py -------------------------------------------------------------------------------- /Chapter20/enumerate_lines.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter20/enumerate_lines.py -------------------------------------------------------------------------------- /Chapter20/event_timer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter20/event_timer.py -------------------------------------------------------------------------------- /Chapter20/passing_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter20/passing_functions.py -------------------------------------------------------------------------------- /Chapter21/Case Study_ Machine Learning/check_output.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter21/Case Study_ Machine Learning/check_output.py -------------------------------------------------------------------------------- /Chapter21/Case Study_ Machine Learning/colors.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter21/Case Study_ Machine Learning/colors.csv -------------------------------------------------------------------------------- /Chapter21/Case Study_ Machine Learning/machine_learn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter21/Case Study_ Machine Learning/machine_learn.py -------------------------------------------------------------------------------- /Chapter21/Case Study_ Machine Learning/manual_classify.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter21/Case Study_ Machine Learning/manual_classify.py -------------------------------------------------------------------------------- /Chapter21/Case Study_ Machine Learning/output.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter21/Case Study_ Machine Learning/output.csv -------------------------------------------------------------------------------- /Chapter21/Case Study_ Machine Learning/second_edition_machine_learn_with_coroutines.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter21/Case Study_ Machine Learning/second_edition_machine_learn_with_coroutines.py -------------------------------------------------------------------------------- /Chapter21/EXAMPLE_LOG.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter21/EXAMPLE_LOG.log -------------------------------------------------------------------------------- /Chapter21/book_authors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter21/book_authors.py -------------------------------------------------------------------------------- /Chapter21/capital_iterator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter21/capital_iterator.py -------------------------------------------------------------------------------- /Chapter21/filesystem_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter21/filesystem_generator.py -------------------------------------------------------------------------------- /Chapter21/list_comp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter21/list_comp.py -------------------------------------------------------------------------------- /Chapter21/list_comp_read_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter21/list_comp_read_file.py -------------------------------------------------------------------------------- /Chapter21/log_loop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter21/log_loop.py -------------------------------------------------------------------------------- /Chapter21/sample_log.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter21/sample_log.txt -------------------------------------------------------------------------------- /Chapter21/score_tally.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter21/score_tally.py -------------------------------------------------------------------------------- /Chapter21/warning_generators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter21/warning_generators.py -------------------------------------------------------------------------------- /Chapter21/xfs_error_log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter21/xfs_error_log.py -------------------------------------------------------------------------------- /Chapter22/car_sales_template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter22/car_sales_template.py -------------------------------------------------------------------------------- /Chapter22/inventory_observer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter22/inventory_observer.py -------------------------------------------------------------------------------- /Chapter22/log_calls_decorator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter22/log_calls_decorator.py -------------------------------------------------------------------------------- /Chapter22/singleton_state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter22/singleton_state.py -------------------------------------------------------------------------------- /Chapter22/socket_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter22/socket_client.py -------------------------------------------------------------------------------- /Chapter22/socket_decorator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter22/socket_decorator.py -------------------------------------------------------------------------------- /Chapter22/tiling_strategy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter22/tiling_strategy.py -------------------------------------------------------------------------------- /Chapter22/xml_example.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter22/xml_example.xml -------------------------------------------------------------------------------- /Chapter22/xml_state_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter22/xml_state_parser.py -------------------------------------------------------------------------------- /Chapter23/age_calculator_adapter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter23/age_calculator_adapter.py -------------------------------------------------------------------------------- /Chapter23/car_flyweight.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter23/car_flyweight.py -------------------------------------------------------------------------------- /Chapter23/email_facade.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter23/email_facade.py -------------------------------------------------------------------------------- /Chapter23/folder_composite.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter23/folder_composite.py -------------------------------------------------------------------------------- /Chapter23/formatter_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter23/formatter_factory.py -------------------------------------------------------------------------------- /Chapter23/pythonic_window_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter23/pythonic_window_command.py -------------------------------------------------------------------------------- /Chapter23/window_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter23/window_command.py -------------------------------------------------------------------------------- /Chapter24/Case Study_ Vigenère cipher/test_vigenere.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter24/Case Study_ Vigenère cipher/test_vigenere.py -------------------------------------------------------------------------------- /Chapter24/Case Study_ Vigenère cipher/vigenere_cipher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter24/Case Study_ Vigenère cipher/vigenere_cipher.py -------------------------------------------------------------------------------- /Chapter24/average_raises.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter24/average_raises.py -------------------------------------------------------------------------------- /Chapter24/echo_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter24/echo_server.py -------------------------------------------------------------------------------- /Chapter24/first_unittest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter24/first_unittest.py -------------------------------------------------------------------------------- /Chapter24/flight_status_redis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter24/flight_status_redis.py -------------------------------------------------------------------------------- /Chapter24/stats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter24/stats.py -------------------------------------------------------------------------------- /Chapter24/stats_list_setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter24/stats_list_setup.py -------------------------------------------------------------------------------- /Chapter24/test_echo_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter24/test_echo_server.py -------------------------------------------------------------------------------- /Chapter24/test_flight_status.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter24/test_flight_status.py -------------------------------------------------------------------------------- /Chapter24/test_pytest_cleanup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter24/test_pytest_cleanup.py -------------------------------------------------------------------------------- /Chapter24/test_pytest_setups.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter24/test_pytest_setups.py -------------------------------------------------------------------------------- /Chapter24/test_pytest_skipping.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter24/test_pytest_skipping.py -------------------------------------------------------------------------------- /Chapter24/test_pytest_stats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter24/test_pytest_stats.py -------------------------------------------------------------------------------- /Chapter24/test_skipping.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter24/test_skipping.py -------------------------------------------------------------------------------- /Chapter24/test_statslist_setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter24/test_statslist_setup.py -------------------------------------------------------------------------------- /Chapter24/test_with_pytest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/Chapter24/test_with_pytest.py -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Python/HEAD/README.md --------------------------------------------------------------------------------