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
↓ 1 callers
Function
hex_to_rgb
(hex_color)
Chapter09/Case Study_ Machine Learning/machine_learn.py:8
↓ 1 callers
Method
is_logged_in
(self, username)
Chapter04/Case Study_ Authorization/auth.py:86
↓ 1 callers
Function
load_colors
(filename)
Chapter09/Case Study_ Machine Learning/machine_learn.py:12
↓ 1 callers
Function
load_colors
(filename)
Chapter09/Case Study_ Machine Learning/second_edition_machine_learn_with_coroutines.py:21
↓ 1 callers
Method
lock
Select the type of item that is going to be manipulated. This method will lock the item so nobody else can manipulate the inve
Chapter04/inventory.py:10
↓ 1 callers
Function
lookup_dns
(data)
Chapter13/dns_server.py:12
↓ 1 callers
Function
main
Creates a useful class and does something with it for our module.
Chapter02/guarding.py:7
↓ 1 callers
Function
match_regex
(filename, regex)
Chapter09/xfs_error_log.py:4
↓ 1 callers
Method
menu
(self)
Chapter04/Case Study_ Authorization/auth_driver.py:57
↓ 1 callers
Method
message
(self)
Chapter08/email_formats.py:32
↓ 1 callers
Function
middle
(stock, date)
Chapter06/tuple_stocks.py:6
↓ 1 callers
Method
modify_memo
Find the note with the given id and change its memo to the given value.
Chapter02/Case Study_ Notebook/notebook.py:50
↓ 1 callers
Method
modify_tags
Find the note with the given id and change its tags to the given value.
Chapter02/Case Study_ Notebook/notebook.py:59
↓ 1 callers
Function
name_colors
(model_colors, target_colors, num_neighbors=5)
Chapter09/Case Study_ Machine Learning/machine_learn.py:42
↓ 1 callers
Function
name_colors
(get_neighbors)
Chapter09/Case Study_ Machine Learning/second_edition_machine_learn_with_coroutines.py:51
↓ 1 callers
Function
nearest_neighbors
(model_colors, target_colors, num_neighbors=5)
Chapter09/Case Study_ Machine Learning/machine_learn.py:33
↓ 1 callers
Function
nearest_neighbors
(model_colors, num_neighbors)
Chapter09/Case Study_ Machine Learning/second_edition_machine_learn_with_coroutines.py:41
↓ 1 callers
Method
new_note
Create a new note and add it to the list.
Chapter02/Case Study_ Notebook/notebook.py:39
↓ 1 callers
Method
normalize_url
(self, path, link)
Chapter06/Case Study_ Link Collector/link_collector.py:36
↓ 1 callers
Method
output_results
(self)
Chapter10/car_sales_template.py:56
↓ 1 callers
Function
perimeter
(polygon)
Chapter05/points.py:6
↓ 1 callers
Method
perimeter
(self)
Chapter05/points.py:33
↓ 1 callers
Method
permit_user
Grant the given permission to the user
Chapter04/Case Study_ Authorization/auth.py:107
↓ 1 callers
Method
process
(self, remaining_string)
Chapter10/xml_state_parser.py:79
↓ 1 callers
Method
process
(self)
Chapter08/Case Study_ Templating Engine/templater.py:21
↓ 1 callers
Function
process_colors
(dataset_filename="colors.csv")
Chapter09/Case Study_ Machine Learning/machine_learn.py:57
↓ 1 callers
Function
process_colors
(dataset_filename="colors.csv")
Chapter09/Case Study_ Machine Learning/second_edition_machine_learn_with_coroutines.py:67
↓ 1 callers
Method
process_files
Scale each image in the directory to 640x480
Chapter05/zip_processor.py:48
↓ 1 callers
Method
process_zip
(self)
Chapter05/zip_processor.py:13
↓ 1 callers
Method
purchase
If the item is not locked, raise an exception. If the item_type does not exist, raise an exception. If the item is currently
Chapter04/inventory.py:24
↓ 1 callers
Method
quit
(self)
Chapter02/Case Study_ Notebook/menu.py:67
↓ 1 callers
Function
random_sleep
(counter)
Chapter13/async_sleep.py:5
↓ 1 callers
Method
ready
(self)
Chapter07/event_timer.py:10
↓ 1 callers
Function
remote_sort
()
Chapter13/sort_client.py:6
↓ 1 callers
Method
reset
Reset the point back to the geometric origin: 0, 0
Chapter02/point.py:18
↓ 1 callers
Function
respond
(client)
Chapter10/socket_decorator.py:37
↓ 1 callers
Method
run
(self)
Chapter07/event_timer.py:25
↓ 1 callers
Method
run
Display the menu and respond to choices.
Chapter02/Case Study_ Notebook/menu.py:31
↓ 1 callers
Method
save
(self)
Chapter07/Case Study_ Mailing Lists/mailing_list.py:58
↓ 1 callers
Method
save
(self)
Chapter05/Document.py:16
↓ 1 callers
Method
save
(self)
Chapter11/pythonic_window_command.py:24
↓ 1 callers
Method
search
Find all notes that match the given filter string.
Chapter02/Case Study_ Notebook/notebook.py:68
↓ 1 callers
Function
send_email
( subject, message, from_addr, *to_addrs, host="localhost", port=1025, headers=Non
Chapter07/Case Study_ Mailing Lists/mailing_list.py:7
↓ 1 callers
Method
show_notes
(self, notes=None)
Chapter02/Case Study_ Notebook/menu.py:42
↓ 1 callers
Function
test1
(a, b, c)
Chapter10/log_calls_decorator.py:23
↓ 1 callers
Function
test2
(a, b)
Chapter10/log_calls_decorator.py:27
↓ 1 callers
Function
test3
(a, b)
Chapter10/log_calls_decorator.py:31
↓ 1 callers
Method
unlock
Release the given type so that other customers can access it.
Chapter04/inventory.py:19
↓ 1 callers
Method
unzip_files
(self)
Chapter05/zip_find_replace.py:19
↓ 1 callers
Method
unzip_files
(self)
Chapter05/zip_processor.py:18
↓ 1 callers
Function
write_results
(colors, filename="output.csv")
Chapter09/Case Study_ Machine Learning/machine_learn.py:50
↓ 1 callers
Function
write_results
(filename="output.csv")
Chapter09/Case Study_ Machine Learning/second_edition_machine_learn_with_coroutines.py:59
↓ 1 callers
Method
zip_files
(self)
Chapter05/zip_find_replace.py:32
↓ 1 callers
Method
zip_files
(self)
Chapter05/zip_processor.py:23
↓ 1 callers
Method
zip_find_replace
(self)
Chapter05/zip_find_replace.py:14
Method
__call__
(self, timer)
Chapter07/event_timer.py:55
Method
__call__
(self)
Chapter10/inventory_observer.py:37
Method
__call__
(self)
Chapter11/pythonic_window_command.py:38
Method
__contains__
(self, x)
Chapter03/odd_container.py:2
Method
__enter__
(self)
Chapter07/Case Study_ Mailing Lists/mailing_list.py:72
Method
__eq__
(self, object)
Chapter06/sorting_lists.py:19
Method
__exit__
(self, type, value, tb)
Chapter07/Case Study_ Mailing Lists/mailing_list.py:76
Method
__getitem__
(self, index)
Chapter07/custom_sequence.py:8
Method
__getitem__
(self, key)
Chapter07/default_options.py:14
Method
__getstate__
(self)
Chapter08/update_url.py:23
Method
__init__
(self)
Chapter04/Case Study_ Authorization/auth_driver.py:11
Method
__init__
(self, username, user=None)
Chapter04/Case Study_ Authorization/auth.py:5
Method
__init__
Construct an authenticator to manage users logging in and out.
Chapter04/Case Study_ Authorization/auth.py:62
Method
__init__
(self, authenticator)
Chapter04/Case Study_ Authorization/auth.py:93
Method
__init__
(self, endtime, callback)
Chapter07/event_timer.py:6
Method
__init__
(self)
Chapter07/event_timer.py:15
Method
__init__
(self)
Chapter07/event_timer.py:52
Method
__init__
(self, **kwargs)
Chapter07/default_options.py:10
Method
__init__
(self, data_file)
Chapter07/Case Study_ Mailing Lists/mailing_list.py:35
Method
__init__
(self, avalue)
Chapter06/using_dictionaries.py:14
Method
__init__
(self, string, number, sort_num)
Chapter06/sorting_lists.py:6
Method
__init__
(self, name, current, high, low)
Chapter06/dataclass_stocks.py:10
Method
__init__
(self, url)
Chapter06/Case Study_ Link Collector/link_collector.py:11
Method
__init__
(self, name="", email="", **kwargs)
Chapter03/contact_multiple_inheritance.py:4
Method
__init__
(self, street="", city="", state="", code="", **kwargs)
Chapter03/contact_multiple_inheritance.py:12
Method
__init__
(self, name, email)
Chapter03/contact.py:15
Method
__init__
(self, name, email, phone)
Chapter03/contact.py:30
Method
__init__
(self, filename)
Chapter03/audio_player.py:5
Method
__init__
(self, filename)
Chapter03/audio_player.py:34
Method
__init__
(self)
Chapter03/Case Study_ Online Grader/grader.py:6
Method
__init__
(self, student, AssignmentClass)
Chapter03/Case Study_ Online Grader/grader.py:65
Method
__init__
(self)
Chapter12/flight_status_redis.py:8
Method
__init__
(self, keyword)
Chapter12/Case Study_ Vigenère cipher/vigenere_cipher.py:2
Method
__init__
(self)
Chapter05/Document.py:2
Method
__init__
(self, document)
Chapter05/Document.py:26
Method
__init__
(self, character, bold=False, italic=False, underline=False)
Chapter05/Document.py:52
Method
__init__
(self, filename, search_string, replace_string)
Chapter05/zip_find_replace.py:8
Method
__init__
(self, x, y)
Chapter05/points.py:19
Method
__init__
(self)
Chapter05/points.py:27
Method
__init__
(self, points=None)
Chapter05/points.py:49
Method
__init__
(self, rgb_value, name)
Chapter05/colors.py:2
Method
__init__
(self, zipname)
Chapter05/zip_processor.py:9
Method
__init__
(self, filename, search_string, replace_string)
Chapter05/zip_processor.py:31
Method
__init__
(self, url)
Chapter05/cached_webpage.py:5
Method
__init__
(self, tag_name, parent=None)
Chapter10/singleton_state.py:2
← previous
next →
101–200 of 430, ranked by callers