Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Python:

with open("filename", "r") as a_file:

    contents = a_file.read()


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: