con declaración en Python

# using with statement
with open('file_path', 'w') as file:
    file.write('hello world !')
#https://www.geeksforgeeks.org/with-statement-in-python/
BIPIN KUMAR SINHA