fromrich.consoleimportConsolefromrich.markdownimportMarkdownMARKDOWN="""\```pythonfrom pathlib import Pathimport httpxdef download(path: Path, *args, **kwargs): with httpx.stream('GET', *args, **kwargs) as response: response.raise_for_status() with path.open(mode='wb', buffering=0) as f: for chunk in response.iter_bytes(16384): f.write(chunk)```"""defmain():
# Comment this outimportisortConsole().print(Markdown(MARKDOWN))
if__name__=='__main__':
main()
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: