random (Python built-in library) This function takes a list as an argument and shuffles its elements using the shuffle method from the random module. The function operates directly on the original list and does not need to return a value. 2024-11-30 15:03:44 Function 11 views
os, re, time This function reads all files with a specified extension in a given directory, extracts email addresses from them, and returns a list of these addresses. It uses the os module to traverse the filesystem, the re module to match email patterns, and the time module to measure the execution time of the function. 2024-11-30 15:03:44 Function 13 views
os, zipfile, datetime This function compresses all files and folders in a specified directory into a single zip file and returns the path to the zip file and the creation time. 2024-11-30 15:03:43 File compression 14 views
Python This function accepts three arguments and returns the sum of the first argument and the product of the second and third arguments. 2024-11-30 15:03:43 Function 14 views
itertools The function uses the `zip_longest` function from the `itertools` module to aggregate elements from each of the iterables and fills missing values with `fillvalue` if necessary. 2024-11-30 15:03:43 Function 14 views
os, re This function is used to find all file paths that match the specified regular expression in the given directory. 2024-11-30 15:03:43 Function 12 views
itertools This function is used to combine iterable objects. If an iterable is too short, it is filled with fillvalue. 2024-11-30 15:03:42 Function 14 views
os, re This function searches for all files with a specific extension in a given directory and returns a list of full paths to these files. 2024-11-30 15:03:42 File search 11 views
String processing This function converts each character in the input string to its corresponding ASCII code and formats the output. 2024-11-30 15:03:42 String processing 12 views