This file contains hidden or 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
from googlesearch import search | |
import inspect | |
print(str(inspect.signature(search))) |
This file contains hidden or 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
try: | |
with open('hshhj.txt', mode = 'r'): | |
print("File opened") | |
except FileNotFoundError as e: | |
print("Error opening file") | |
print(e) | |
finally: | |
print("Some operation independent of file contents") |
OlderNewer