This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
## requirements.txt | |
# anyio==4.6.0 | |
# beautifulsoup4==4.12.3 | |
# certifi==2024.8.30 | |
# h11==0.14.0 | |
# httpcore==1.0.5 | |
# httpx==0.27.2 | |
# idna==3.10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def create_search_grid(center_point, side_length): | |
# Return a 3x3 grid of points, centered at center_point, | |
# making a square side_length tall and wide. | |
return grid_of_points | |
def stop_condition(value): | |
# Decide if you're at a good enough place to end the search. | |
# Tweak this for your own application. | |
return should_stop_searching |