개발자 모드/파이썬(python)

파이썬 파일 read 하기

인생은직구 2021. 5. 17. 14:07
728x90

with open("basic.txt","r") as file:

    contents = file.read()


print(contents) 

 

 

728x90