Nov-02-2019, 10:42 PM
i want to do it within the with statement so that it is sure to happen (or at least be attempted). sure, i can do it after the with. i can close the file after the with, too. the justification for using with to do a close ... i want to use for doing the rename, too. so i would expect a method that returns an object with a context manager that takes care of both the close and the rename.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.