Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update export.py #3683

Closed
wants to merge 1 commit into from
Closed

Update export.py #3683

wants to merge 1 commit into from

Commits on Sep 10, 2023

  1. Update export.py

    With this approach, you don't need to manually open and close the file or standard output. Instead, you use the redirect_stdout context manager to temporarily redirect the standard output to the desired target (either a file or sys.stdout), and it will automatically handle the cleanup when the context exits.
    mzamini92 authored Sep 10, 2023
    Configuration menu
    Copy the full SHA
    8973320 View commit details
    Browse the repository at this point in the history