Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/Python-3-Object-Oriented-Programming-Third-Edition
/ functions
Functions
430 in github.com/PacktPublishing/Python-3-Object-Oriented-Programming-Third-Edition
⨍
Functions
430
◇
Types & classes
159
↳
Endpoints
1
↓ 65 callers
Method
format
(self, string)
Chapter02/inner_class.py:9
↓ 40 callers
Method
append
(self, integer)
Chapter04/even_integers.py:2
↓ 15 callers
Method
close
(self)
Chapter10/socket_decorator.py:33
↓ 11 callers
Method
execute
(self)
Chapter11/window_command.py:50
↓ 11 callers
Method
send
(self, data)
Chapter10/socket_decorator.py:25
↓ 10 callers
Method
encode
(self, plaintext)
Chapter12/Case Study_ Vigenère cipher/vigenere_cipher.py:13
↓ 10 callers
Method
split
(self, char)
Chapter11/age_calculator_adapter.py:32
↓ 8 callers
Method
call_after
(self, delay, callback)
Chapter07/event_timer.py:18
↓ 8 callers
Method
create_color_button
(self, label, column, row)
Chapter09/Case Study_ Machine Learning/manual_classify.py:15
↓ 7 callers
Method
start
(self)
Chapter10/xml_state_parser.py:84
↓ 6 callers
Method
decode
(self, ciphertext)
Chapter12/Case Study_ Vigenère cipher/vigenere_cipher.py:16
↓ 6 callers
Method
mk_grid
(self, widget, column, row, columnspan=1)
Chapter09/Case Study_ Machine Learning/check_output.py:19
↓ 5 callers
Method
calculate_distance
Calculate the distance from this point to a second point passed as a parameter. This function uses the Pythagorean Theorem to calcula
Chapter02/point.py:22
↓ 5 callers
Method
end
(self)
Chapter05/Document.py:43
↓ 5 callers
Function
format_time
(message, *args)
Chapter07/event_timer.py:34
↓ 5 callers
Method
match
Determine if this note matches the filter text. Return True if it matches, False otherwise. Search is case sensitive and matches both
Chapter02/Case Study_ Notebook/notebook.py:22
↓ 5 callers
Method
move
Move the point to a new location in 2D space.
Chapter02/point.py:13
↓ 4 callers
Method
add_point
(self, point)
Chapter05/points.py:30
↓ 4 callers
Method
check_assignment
(self, student, code)
Chapter03/Case Study_ Online Grader/grader.py:29
↓ 4 callers
Method
connect
(self)
Chapter10/car_sales_template.py:39
↓ 4 callers
Method
median
(self)
Chapter12/stats.py:8
↓ 4 callers
Method
mode
(self)
Chapter12/stats.py:15
↓ 3 callers
Method
extend_keyword
(self, number)
Chapter12/Case Study_ Vigenère cipher/vigenere_cipher.py:19
↓ 3 callers
Function
funny_division
(divider)
Chapter04/funny_division.py:1
↓ 3 callers
Method
load
(self)
Chapter07/Case Study_ Mailing Lists/mailing_list.py:63
↓ 3 callers
Function
log_calls
(func)
Chapter10/log_calls_decorator.py:4
↓ 3 callers
Method
mean
(self)
Chapter12/stats.py:5
↓ 3 callers
Function
print_verbose
print the message only if verbose is enabled
Chapter07/augmented_move.py:11
↓ 3 callers
Method
search
Return all contacts that contain the search value in their name.
Chapter03/contact.py:2
↓ 2 callers
Method
__init__
(self, phone="", **kwargs)
Chapter03/contact_multiple_inheritance.py:21
↓ 2 callers
Method
_code
(self, text, combine_func)
Chapter12/Case Study_ Vigenère cipher/vigenere_cipher.py:5
↓ 2 callers
Method
_encrypt_pw
Encrypt the password with the username and return the sha digest.
Chapter04/Case Study_ Authorization/auth.py:47
↓ 2 callers
Method
_find_note
Locate the note with the given id.
Chapter02/Case Study_ Notebook/notebook.py:43
↓ 2 callers
Method
_str_date
(self, date)
Chapter11/age_calculator_adapter.py:19
↓ 2 callers
Method
_update_observers
(self)
Chapter10/inventory_observer.py:28
↓ 2 callers
Method
add_permission
Create a new permission that users can be added to
Chapter04/Case Study_ Authorization/auth.py:97
↓ 2 callers
Function
another_function
(function)
Chapter07/passing_functions.py:15
↓ 2 callers
Method
assignment_summary
(self, student)
Chapter03/Case Study_ Online Grader/grader.py:33
↓ 2 callers
Method
call_me
(self)
Chapter03/multiple_inheritance_super.py:30
↓ 2 callers
Method
call_me
(self)
Chapter03/multiple_inheritance_bad_demo.py:30
↓ 2 callers
Method
change_status
(self, flight, status)
Chapter12/flight_status_redis.py:11
↓ 2 callers
Method
check
(self, code)
Chapter03/Case Study_ Online Grader/grader.py:51
↓ 2 callers
Function
combine_character
(plain, keyword)
Chapter12/Case Study_ Vigenère cipher/vigenere_cipher.py:24
↓ 2 callers
Method
exit
(self)
Chapter11/window_command.py:5
↓ 2 callers
Method
get_lesson
(self, student)
Chapter03/Case Study_ Online Grader/grader.py:25
↓ 2 callers
Method
is_permitted
(self, permission)
Chapter04/Case Study_ Authorization/auth_driver.py:34
↓ 2 callers
Method
lesson
(self, student)
Chapter03/Case Study_ Online Grader/grader.py:47
↓ 2 callers
Method
login
(self)
Chapter04/Case Study_ Authorization/auth_driver.py:20
↓ 2 callers
Method
next_color
(self)
Chapter09/Case Study_ Machine Learning/check_output.py:16
↓ 2 callers
Function
no_return
()
Chapter04/no_return.py:1
↓ 2 callers
Method
random_color
(self)
Chapter09/Case Study_ Machine Learning/manual_classify.py:21
↓ 2 callers
Method
register
(self, assignment_class)
Chapter03/Case Study_ Online Grader/grader.py:10
↓ 2 callers
Method
save
(self)
Chapter11/window_command.py:14
↓ 2 callers
Method
schedule
(self)
Chapter08/update_url.py:18
↓ 2 callers
Function
separate_character
(cypher, keyword)
Chapter12/Case Study_ Vigenère cipher/vigenere_cipher.py:32
↓ 2 callers
Function
split_bits
(bits, width)
Chapter13/Case Study_ Compression/compress_bmp.py:31
↓ 2 callers
Method
start_assignment
(self, student, id)
Chapter03/Case Study_ Online Grader/grader.py:20
↓ 2 callers
Method
update
(self)
Chapter08/update_url.py:13
↓ 2 callers
Function
warnings_filter
(insequence)
Chapter09/warning_generators.py:47
↓ 1 callers
Method
__init__
Create a new user object. The password will be encrypted before storing.
Chapter04/Case Study_ Authorization/auth.py:40
↓ 1 callers
Method
__init__
(self, name)
Chapter09/filesystem_generator.py:2
↓ 1 callers
Method
__init__
(self, name, contents)
Chapter11/folder_composite.py:29
↓ 1 callers
Method
add_user
(self, username, password)
Chapter04/Case Study_ Authorization/auth.py:67
↓ 1 callers
Function
augmented_move
Move all filenames into the target_folder, allowing specific treatment of certain files.
Chapter07/augmented_move.py:5
↓ 1 callers
Function
average
(seq)
Chapter12/average_raises.py:4
↓ 1 callers
Method
calculate_age
(self, date)
Chapter11/age_calculator_adapter.py:10
↓ 1 callers
Method
check_password
Return True if the password is valid for this user, false otherwise.
Chapter04/Case Study_ Authorization/auth.py:54
↓ 1 callers
Method
check_permission
(self, perm_name, username)
Chapter04/Case Study_ Authorization/auth.py:118
↓ 1 callers
Method
click_color
(self, label)
Chapter09/Case Study_ Machine Learning/manual_classify.py:48
↓ 1 callers
Method
collect_links
(self)
Chapter06/Case Study_ Link Collector/link_collector.py:16
↓ 1 callers
Function
color_distance
(color1, color2)
Chapter09/Case Study_ Machine Learning/machine_learn.py:25
↓ 1 callers
Function
color_distance
(color1, color2)
Chapter09/Case Study_ Machine Learning/second_edition_machine_learn_with_coroutines.py:33
↓ 1 callers
Function
compress_chunk
(chunk)
Chapter13/Case Study_ Compression/compress_bmp.py:17
↓ 1 callers
Function
compress_dir
(in_dir, out_dir)
Chapter13/Case Study_ Compression/compress_bmp.py:62
↓ 1 callers
Function
compress_image
(in_filename, out_filename, executor=None)
Chapter13/Case Study_ Compression/compress_bmp.py:48
↓ 1 callers
Function
compress_in_executor
(executor, bits, width)
Chapter13/Case Study_ Compression/compress_bmp.py:36
↓ 1 callers
Method
construct_query
(self)
Chapter10/car_sales_template.py:42
↓ 1 callers
Method
copy
(self, new_path)
Chapter11/folder_composite.py:33
↓ 1 callers
Method
count_next
(self)
Chapter09/Case Study_ Machine Learning/check_output.py:56
↓ 1 callers
Function
count_sloc
(dir_path)
Chapter08/sloc.py:4
↓ 1 callers
Function
create_response
(data, ip)
Chapter13/dns_server.py:25
↓ 1 callers
Method
create_widgets
(self)
Chapter09/Case Study_ Machine Learning/manual_classify.py:28
↓ 1 callers
Method
create_widgets
(self)
Chapter09/Case Study_ Machine Learning/check_output.py:24
↓ 1 callers
Function
decompress
(width, height, bytes)
Chapter13/Case Study_ Compression/decompress_to_bmp.py:5
↓ 1 callers
Function
dir_images_main
()
Chapter13/Case Study_ Compression/compress_bmp.py:84
↓ 1 callers
Method
display_menu
(self)
Chapter02/Case Study_ Notebook/menu.py:18
↓ 1 callers
Function
distance
(p1, p2)
Chapter05/points.py:3
↓ 1 callers
Method
distance
(self, p2)
Chapter05/points.py:23
↓ 1 callers
Method
do_query
(self)
Chapter10/car_sales_template.py:45
↓ 1 callers
Method
emails_in_groups
(self, *groups)
Chapter07/Case Study_ Mailing Lists/mailing_list.py:42
↓ 1 callers
Method
find_replace
(self)
Chapter05/zip_find_replace.py:24
↓ 1 callers
Function
five_sleepers
()
Chapter13/async_sleep.py:12
↓ 1 callers
Method
format_results
(self)
Chapter10/car_sales_template.py:49
↓ 1 callers
Function
format_string
Format a string using the formatter object, which is expected to have a format() method that accepts a string.
Chapter02/inner_class.py:1
↓ 1 callers
Method
forward
(self)
Chapter05/Document.py:30
↓ 1 callers
Function
funny_division2
(divider)
Chapter04/funny_division.py:13
↓ 1 callers
Function
generate_colors
(count=100)
Chapter09/Case Study_ Machine Learning/machine_learn.py:20
↓ 1 callers
Function
generate_colors
(count=100)
Chapter09/Case Study_ Machine Learning/second_edition_machine_learn_with_coroutines.py:28
↓ 1 callers
Function
get_path
(path)
Chapter11/folder_composite.py:40
↓ 1 callers
Function
get_serials
(filename)
Chapter09/xfs_error_log.py:13
next →
1–100 of 430, ranked by callers